Package com.oracle.bmc.devops.model
Class ContainerInstanceConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.ContainerInstanceConfig.Builder
-
- Enclosing class:
- ContainerInstanceConfig
public static class ContainerInstanceConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerInstanceConfig.BuilderavailabilityDomain(String availabilityDomain)Availability domain where the ContainerInstance will be created.ContainerInstanceConfigbuild()ContainerInstanceConfig.BuildercompartmentId(String compartmentId)The OCID of the compartment where the ContainerInstance will be created.ContainerInstanceConfig.Buildercopy(ContainerInstanceConfig model)ContainerInstanceConfig.BuildernetworkChannel(NetworkChannel networkChannel)ContainerInstanceConfig.BuildershapeConfig(ShapeConfig shapeConfig)ContainerInstanceConfig.BuildershapeName(String shapeName)The shape of the ContainerInstance.
-
-
-
Method Detail
-
compartmentId
public ContainerInstanceConfig.Builder compartmentId(String compartmentId)
The OCID of the compartment where the ContainerInstance will be created.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
availabilityDomain
public ContainerInstanceConfig.Builder availabilityDomain(String availabilityDomain)
Availability domain where the ContainerInstance will be created.- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
shapeName
public ContainerInstanceConfig.Builder shapeName(String shapeName)
The shape of the ContainerInstance.The shape determines the resources available to the ContainerInstance.
- Parameters:
shapeName- the value to set- Returns:
- this builder
-
shapeConfig
public ContainerInstanceConfig.Builder shapeConfig(ShapeConfig shapeConfig)
-
networkChannel
public ContainerInstanceConfig.Builder networkChannel(NetworkChannel networkChannel)
-
build
public ContainerInstanceConfig build()
-
copy
public ContainerInstanceConfig.Builder copy(ContainerInstanceConfig model)
-
-