Class ContainerInstanceSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerinstances.model.ContainerInstanceSummary.Builder
 
- 
- Enclosing class:
- ContainerInstanceSummary
 
 public static class ContainerInstanceSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerInstanceSummary.BuilderavailabilityDomain(String availabilityDomain)The availability domain where the container instance runs.ContainerInstanceSummarybuild()ContainerInstanceSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment to create the container instance in.ContainerInstanceSummary.BuildercontainerCount(Integer containerCount)The number of containers in the container instance.ContainerInstanceSummary.BuildercontainerRestartPolicy(ContainerInstance.ContainerRestartPolicy containerRestartPolicy)Container Restart PolicyContainerInstanceSummary.Buildercopy(ContainerInstanceSummary model)ContainerInstanceSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ContainerInstanceSummary.BuilderdisplayName(String displayName)A user-friendly name.ContainerInstanceSummary.BuilderfaultDomain(String faultDomain)The fault domain where the container instance runs.ContainerInstanceSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ContainerInstanceSummary.BuildergracefulShutdownTimeoutInSeconds(Long gracefulShutdownTimeoutInSeconds)The amount of time that processes in a container have to gracefully end when the container must be stopped.ContainerInstanceSummary.Builderid(String id)OCID that cannot be changed.ContainerInstanceSummary.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the container instance in more detail.ContainerInstanceSummary.BuilderlifecycleState(ContainerInstance.LifecycleState lifecycleState)The current state of the container instance.ContainerInstanceSummary.Buildershape(String shape)The shape of the container instance.ContainerInstanceSummary.BuildershapeConfig(ContainerInstanceShapeConfig shapeConfig)ContainerInstanceSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ContainerInstanceSummary.BuildertimeCreated(Date timeCreated)The time the container instance was created, in the format defined by RFC3339.ContainerInstanceSummary.BuildertimeUpdated(Date timeUpdated)The time the container instance was updated, in the format defined by RFC3339.ContainerInstanceSummary.BuildervolumeCount(Integer volumeCount)The number of volumes that are attached to the container instance.
 
- 
- 
- 
Method Detail- 
idpublic ContainerInstanceSummary.Builder id(String id) OCID that cannot be changed.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ContainerInstanceSummary.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ContainerInstanceSummary.Builder compartmentId(String compartmentId) The OCID of the compartment to create the container instance in.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ContainerInstanceSummary.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 ContainerInstanceSummary.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 ContainerInstanceSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}. - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic ContainerInstanceSummary.Builder availabilityDomain(String availabilityDomain) The availability domain where the container instance runs.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
faultDomainpublic ContainerInstanceSummary.Builder faultDomain(String faultDomain) The fault domain where the container instance runs.- Parameters:
- faultDomain- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ContainerInstanceSummary.Builder lifecycleState(ContainerInstance.LifecycleState lifecycleState) The current state of the container instance.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic ContainerInstanceSummary.Builder lifecycleDetails(String lifecycleDetails) A message that describes the current state of the container instance in more detail.Can be used to provide actionable information. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ContainerInstanceSummary.Builder timeCreated(Date timeCreated) The time the container instance was created, in the format defined by RFC3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ContainerInstanceSummary.Builder timeUpdated(Date timeUpdated) The time the container instance was updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
shapepublic ContainerInstanceSummary.Builder shape(String shape) The shape of the container instance.The shape determines the resources available to the container instance. - Parameters:
- shape- the value to set
- Returns:
- this builder
 
 - 
shapeConfigpublic ContainerInstanceSummary.Builder shapeConfig(ContainerInstanceShapeConfig shapeConfig) 
 - 
containerCountpublic ContainerInstanceSummary.Builder containerCount(Integer containerCount) The number of containers in the container instance.- Parameters:
- containerCount- the value to set
- Returns:
- this builder
 
 - 
gracefulShutdownTimeoutInSecondspublic ContainerInstanceSummary.Builder gracefulShutdownTimeoutInSeconds(Long gracefulShutdownTimeoutInSeconds) The amount of time that processes in a container have to gracefully end when the container must be stopped.For example, when you delete a container instance. After the timeout is reached, the processes are sent a signal to be deleted. - Parameters:
- gracefulShutdownTimeoutInSeconds- the value to set
- Returns:
- this builder
 
 - 
volumeCountpublic ContainerInstanceSummary.Builder volumeCount(Integer volumeCount) The number of volumes that are attached to the container instance.- Parameters:
- volumeCount- the value to set
- Returns:
- this builder
 
 - 
containerRestartPolicypublic ContainerInstanceSummary.Builder containerRestartPolicy(ContainerInstance.ContainerRestartPolicy containerRestartPolicy) Container Restart Policy- Parameters:
- containerRestartPolicy- the value to set
- Returns:
- this builder
 
 - 
buildpublic ContainerInstanceSummary build() 
 - 
copypublic ContainerInstanceSummary.Builder copy(ContainerInstanceSummary model) 
 
- 
 
-