public static class FleetSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FleetSummary |
build() |
FleetSummary.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
FleetSummary.Builder |
copy(FleetSummary model) |
FleetSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
FleetSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
FleetSummary.Builder |
environmentType(String environmentType)
Environment Type associated with the Fleet.
|
FleetSummary.Builder |
fleetType(Fleet.FleetType fleetType)
Type of the Fleet.
|
FleetSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
FleetSummary.Builder |
id(String id)
The OCID of the resource.
|
FleetSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
FleetSummary.Builder |
lifecycleState(Fleet.LifecycleState lifecycleState)
The lifecycle state of the Fleet.
|
FleetSummary.Builder |
resourceRegion(String resourceRegion)
Associated region
|
FleetSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
FleetSummary.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
FleetSummary.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
public FleetSummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic FleetSummary.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic FleetSummary.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic FleetSummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
displayName
- the value to setpublic FleetSummary.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic FleetSummary.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic FleetSummary.Builder fleetType(Fleet.FleetType fleetType)
Type of the Fleet. PRODUCT - A fleet of product-specific resources for a product type. ENVIRONMENT - A fleet of environment-specific resources for a product stack. GROUP - A fleet of a fleet of either environment or product fleets. GENERIC - A fleet of resources selected dynamically or manually for reporting purposes
fleetType
- the value to setpublic FleetSummary.Builder environmentType(String environmentType)
Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.
environmentType
- the value to setpublic FleetSummary.Builder lifecycleState(Fleet.LifecycleState lifecycleState)
The lifecycle state of the Fleet.
lifecycleState
- the value to setpublic FleetSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic FleetSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic FleetSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic FleetSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic FleetSummary build()
public FleetSummary.Builder copy(FleetSummary model)
Copyright © 2016–2024. All rights reserved.