@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class ClusterEndpointConfig extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
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 ClusterEndpointConfig.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ClusterEndpointConfig.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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) |
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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"subnetId","nsgIds","isPublicIpEnabled"}) 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.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.