Class ClusterEndpointConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.ClusterEndpointConfig.Builder
-
- Enclosing class:
- ClusterEndpointConfig
public static class ClusterEndpointConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterEndpointConfig
build()
ClusterEndpointConfig.Builder
copy(ClusterEndpointConfig model)
ClusterEndpointConfig.Builder
isPublicIpEnabled(Boolean isPublicIpEnabled)
Whether the cluster should be assigned a public IP address.ClusterEndpointConfig.Builder
nsgIds(List<String> nsgIds)
A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint.ClusterEndpointConfig.Builder
subnetId(String subnetId)
The OCID of the regional subnet in which to place the Cluster endpoint.
-
-
-
Method Detail
-
subnetId
public ClusterEndpointConfig.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 ClusterEndpointConfig.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 ClusterEndpointConfig.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 ClusterEndpointConfig build()
-
copy
public ClusterEndpointConfig.Builder copy(ClusterEndpointConfig model)
-
-