Class Fleet.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.Fleet.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Fleetbuild()Fleet.BuildercompartmentId(String compartmentId)Compartment OCIDFleet.Buildercopy(Fleet model)Fleet.Buildercredentials(List<AssociatedFleetCredentialDetails> credentials)Credentials associated with the Fleet.Fleet.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Fleet.Builderdescription(String description)A user-friendly description.Fleet.Builderdetails(FleetDetails details)Fleet.BuilderdisplayName(String displayName)A user-friendly name.Fleet.BuilderenvironmentType(String environmentType)Environment Type associated with the Fleet.Fleet.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Fleet.Builderid(String id)The OCID of the resource.Fleet.BuilderisTargetAutoConfirm(Boolean isTargetAutoConfirm)A value that represents if auto-confirming of the targets can be enabled.Fleet.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Fleet.BuilderlifecycleState(Fleet.LifecycleState lifecycleState)The lifecycle state of the Fleet.Fleet.BuildernotificationPreferences(List<NotificationPreference> notificationPreferences)Notification Preferences associated with the Fleet.Fleet.BuilderparentFleetId(String parentFleetId)The OCID of the fleet that would be the parent for this fleet.Fleet.Builderproducts(List<String> products)Products associated with the Fleet.Fleet.Builderproperties(List<AssociatedFleetPropertyDetails> properties)Properties associated with the Fleet.Fleet.BuilderresourceRegion(String resourceRegion)Associated regionFleet.Builderresources(List<AssociatedFleetResourceDetails> resources)Resources associated with the Fleet if resourceSelectionType is MANUAL.Fleet.BuilderresourceSelection(ResourceSelection resourceSelection)Fleet.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Fleet.BuildertimeCreated(Date timeCreated)The time this resource was created.Fleet.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.
 
- 
- 
- 
Method Detail- 
idpublic Fleet.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Fleet.Builder compartmentId(String compartmentId) Compartment OCID- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
resourceRegionpublic Fleet.Builder resourceRegion(String resourceRegion) Associated region- Parameters:
- resourceRegion- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Fleet.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 - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Fleet.Builder description(String description) A user-friendly description.To provide some insight about the resource. Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Fleet.Builder timeCreated(Date timeCreated) The time this resource was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Fleet.Builder timeUpdated(Date timeUpdated) The time this resource was last updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
productspublic Fleet.Builder products(List<String> products) Products associated with the Fleet.- Parameters:
- products- the value to set
- Returns:
- this builder
 
 - 
detailspublic Fleet.Builder details(FleetDetails details) 
 - 
environmentTypepublic Fleet.Builder environmentType(String environmentType) Environment Type associated with the Fleet.Applicable for ENVIRONMENT fleet types. - Parameters:
- environmentType- the value to set
- Returns:
- this builder
 
 - 
resourceSelectionpublic Fleet.Builder resourceSelection(ResourceSelection resourceSelection) 
 - 
notificationPreferencespublic Fleet.Builder notificationPreferences(List<NotificationPreference> notificationPreferences) Notification Preferences associated with the Fleet.- Parameters:
- notificationPreferences- the value to set
- Returns:
- this builder
 
 - 
resourcespublic Fleet.Builder resources(List<AssociatedFleetResourceDetails> resources) Resources associated with the Fleet if resourceSelectionType is MANUAL.- Parameters:
- resources- the value to set
- Returns:
- this builder
 
 - 
propertiespublic Fleet.Builder properties(List<AssociatedFleetPropertyDetails> properties) Properties associated with the Fleet.- Parameters:
- properties- the value to set
- Returns:
- this builder
 
 - 
credentialspublic Fleet.Builder credentials(List<AssociatedFleetCredentialDetails> credentials) Credentials associated with the Fleet.- Parameters:
- credentials- the value to set
- Returns:
- this builder
 
 - 
parentFleetIdpublic Fleet.Builder parentFleetId(String parentFleetId) The OCID of the fleet that would be the parent for this fleet.- Parameters:
- parentFleetId- the value to set
- Returns:
- this builder
 
 - 
isTargetAutoConfirmpublic Fleet.Builder isTargetAutoConfirm(Boolean isTargetAutoConfirm) A value that represents if auto-confirming of the targets can be enabled.This will allow targets to be auto-confirmed in the fleet without manual intervention. - Parameters:
- isTargetAutoConfirm- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Fleet.Builder lifecycleState(Fleet.LifecycleState lifecycleState) The lifecycle state of the Fleet.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Fleet.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. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Fleet.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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic Fleet.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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic Fleet.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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Fleet build() 
 - 
copypublic Fleet.Builder copy(Fleet model) 
 
- 
 
-