@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class ClusterEndpointConfig extends Object
The properties that define the network configuration for the Cluster endpoint.
Note: Objects should always be created or deserialized using the ClusterEndpointConfig.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the ClusterEndpointConfig.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ClusterEndpointConfig.Builder |
Constructor and Description |
---|
ClusterEndpointConfig(String subnetId,
List<String> nsgIds,
Boolean isPublicIpEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ClusterEndpointConfig.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Boolean |
getIsPublicIpEnabled()
Whether the cluster should be assigned a public IP address.
|
List<String> |
getNsgIds()
A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint.
|
String |
getSubnetId()
The OCID of the regional subnet in which to place the Cluster endpoint.
|
int |
hashCode() |
ClusterEndpointConfig.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"subnetId","nsgIds","isPublicIpEnabled"}) @Deprecated public ClusterEndpointConfig(String subnetId, List<String> nsgIds, Boolean isPublicIpEnabled)
public static ClusterEndpointConfig.Builder builder()
Create a new builder.
public ClusterEndpointConfig.Builder toBuilder()
public String getSubnetId()
The OCID of the regional subnet in which to place the Cluster endpoint.
public List<String> getNsgIds()
A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup
.
public Boolean getIsPublicIpEnabled()
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.
Copyright © 2016–2022. All rights reserved.