Class CreateClusterEndpointConfigDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.CreateClusterEndpointConfigDetails.Builder
-
- Enclosing class:
- CreateClusterEndpointConfigDetails
public static class CreateClusterEndpointConfigDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateClusterEndpointConfigDetails
build()
CreateClusterEndpointConfigDetails.Builder
copy(CreateClusterEndpointConfigDetails model)
CreateClusterEndpointConfigDetails.Builder
isPublicIpEnabled(Boolean isPublicIpEnabled)
Whether the cluster should be assigned a public IP address.CreateClusterEndpointConfigDetails.Builder
nsgIds(List<String> nsgIds)
A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint.CreateClusterEndpointConfigDetails.Builder
subnetId(String subnetId)
The OCID of the regional subnet in which to place the Cluster endpoint.
-
-
-
Method Detail
-
subnetId
public CreateClusterEndpointConfigDetails.Builder subnetId(String subnetId)
The OCID of the regional subnet in which to place the Cluster endpoint.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
nsgIds
public CreateClusterEndpointConfigDetails.Builder nsgIds(List<String> nsgIds)
A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint.For more information about NSGs, see
NetworkSecurityGroup
.- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
isPublicIpEnabled
public CreateClusterEndpointConfigDetails.Builder isPublicIpEnabled(Boolean isPublicIpEnabled)
Whether the cluster should be assigned a public IP address.Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.
- Parameters:
isPublicIpEnabled
- the value to set- Returns:
- this builder
-
build
public CreateClusterEndpointConfigDetails build()
-
copy
public CreateClusterEndpointConfigDetails.Builder copy(CreateClusterEndpointConfigDetails model)
-
-