public static class CreateContainerVnicDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateContainerVnicDetails |
build() |
CreateContainerVnicDetails.Builder |
copy(CreateContainerVnicDetails model) |
CreateContainerVnicDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateContainerVnicDetails.Builder |
displayName(String displayName)
A user-friendly name for the VNIC.
|
CreateContainerVnicDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateContainerVnicDetails.Builder |
hostnameLabel(String hostnameLabel)
The hostname for the VNIC’s primary private IP.
|
CreateContainerVnicDetails.Builder |
isPublicIpAssigned(Boolean isPublicIpAssigned)
Whether the VNIC should be assigned a public IP address.
|
CreateContainerVnicDetails.Builder |
nsgIds(List<String> nsgIds)
A list of the OCIDs of the network security groups (NSGs) to add the VNIC to.
|
CreateContainerVnicDetails.Builder |
privateIp(String privateIp)
A private IP address of your choice to assign to the VNIC.
|
CreateContainerVnicDetails.Builder |
skipSourceDestCheck(Boolean skipSourceDestCheck)
Whether the source/destination check is disabled on the VNIC.
|
CreateContainerVnicDetails.Builder |
subnetId(String subnetId)
The OCID of the subnet to create the VNIC in.
|
public CreateContainerVnicDetails.Builder displayName(String displayName)
A user-friendly name for the VNIC. Does not have to be unique. Avoid entering confidential information.
displayName
- the value to setpublic CreateContainerVnicDetails.Builder hostnameLabel(String hostnameLabel)
The hostname for the VNIC’s primary private IP. Used for DNS.
hostnameLabel
- the value to setpublic CreateContainerVnicDetails.Builder isPublicIpAssigned(Boolean isPublicIpAssigned)
Whether the VNIC should be assigned a public IP address.
isPublicIpAssigned
- the value to setpublic CreateContainerVnicDetails.Builder skipSourceDestCheck(Boolean skipSourceDestCheck)
Whether the source/destination check is disabled on the VNIC.
skipSourceDestCheck
- the value to setpublic CreateContainerVnicDetails.Builder nsgIds(List<String> nsgIds)
A list of the OCIDs of the network security groups (NSGs) to add the VNIC to.
nsgIds
- the value to setpublic 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.
privateIp
- the value to setpublic CreateContainerVnicDetails.Builder subnetId(String subnetId)
The OCID of the subnet to create the VNIC in.
subnetId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
.
definedTags
- the value to setpublic CreateContainerVnicDetails build()
public CreateContainerVnicDetails.Builder copy(CreateContainerVnicDetails model)
Copyright © 2016–2024. All rights reserved.