Class CreateContainerVnicDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerinstances.model.CreateContainerVnicDetails.Builder
 
- 
- Enclosing class:
- CreateContainerVnicDetails
 
 public static class CreateContainerVnicDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateContainerVnicDetailsbuild()CreateContainerVnicDetails.Buildercopy(CreateContainerVnicDetails model)CreateContainerVnicDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateContainerVnicDetails.BuilderdisplayName(String displayName)A user-friendly name for the VNIC.CreateContainerVnicDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateContainerVnicDetails.BuilderhostnameLabel(String hostnameLabel)The hostname for the VNIC’s primary private IP.CreateContainerVnicDetails.BuilderisPublicIpAssigned(Boolean isPublicIpAssigned)Whether the VNIC should be assigned a public IP address.CreateContainerVnicDetails.BuildernsgIds(List<String> nsgIds)A list of the OCIDs of the network security groups (NSGs) to add the VNIC to.CreateContainerVnicDetails.BuilderprivateIp(String privateIp)A private IP address of your choice to assign to the VNIC.CreateContainerVnicDetails.BuilderskipSourceDestCheck(Boolean skipSourceDestCheck)Whether the source/destination check is disabled on the VNIC.CreateContainerVnicDetails.BuildersubnetId(String subnetId)The OCID of the subnet to create the VNIC in.
 
- 
- 
- 
Method Detail- 
displayNamepublic CreateContainerVnicDetails.Builder displayName(String displayName) A user-friendly name for the VNIC.Does not have to be unique. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
hostnameLabelpublic CreateContainerVnicDetails.Builder hostnameLabel(String hostnameLabel) The hostname for the VNIC’s primary private IP.Used for DNS. - Parameters:
- hostnameLabel- the value to set
- Returns:
- this builder
 
 - 
isPublicIpAssignedpublic CreateContainerVnicDetails.Builder isPublicIpAssigned(Boolean isPublicIpAssigned) Whether the VNIC should be assigned a public IP address.- Parameters:
- isPublicIpAssigned- the value to set
- Returns:
- this builder
 
 - 
skipSourceDestCheckpublic CreateContainerVnicDetails.Builder skipSourceDestCheck(Boolean skipSourceDestCheck) Whether the source/destination check is disabled on the VNIC.- Parameters:
- skipSourceDestCheck- the value to set
- Returns:
- this builder
 
 - 
nsgIdspublic CreateContainerVnicDetails.Builder nsgIds(List<String> nsgIds) A list of the OCIDs of the network security groups (NSGs) to add the VNIC to.- Parameters:
- nsgIds- the value to set
- Returns:
- this builder
 
 - 
privateIppublic CreateContainerVnicDetails.Builder privateIp(String privateIp) A private IP address of your choice to assign to the VNIC.Must be an available IP address within the subnet’s CIDR. - Parameters:
- privateIp- the value to set
- Returns:
- this builder
 
 - 
subnetIdpublic CreateContainerVnicDetails.Builder subnetId(String subnetId) The OCID of the subnet to create the VNIC in.- Parameters:
- subnetId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateContainerVnicDetails.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 CreateContainerVnicDetails.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
 
 - 
buildpublic CreateContainerVnicDetails build() 
 - 
copypublic CreateContainerVnicDetails.Builder copy(CreateContainerVnicDetails model) 
 
- 
 
-