public static class ClusterEndpointConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public ClusterEndpointConfig.Builder subnetId(String subnetId)
The OCID of the regional subnet in which to place the Cluster endpoint.
subnetId
- the value to setpublic 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
.
nsgIds
- the value to setpublic 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.
isPublicIpEnabled
- the value to setpublic ClusterEndpointConfig build()
public ClusterEndpointConfig.Builder copy(ClusterEndpointConfig model)
Copyright © 2016–2024. All rights reserved.