@Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public final class BdsInstance extends Object
Description of the BDS instance
Note: Objects should always be created or deserialized using the BdsInstance.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 BdsInstance.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 |
BdsInstance.Builder |
static class |
BdsInstance.ClusterVersion
Version of the Hadoop distribution
|
static class |
BdsInstance.LifecycleState
The state of the BDS instance
|
Constructor and Description |
---|
BdsInstance(String id,
String compartmentId,
String displayName,
BdsInstance.LifecycleState lifecycleState,
BdsInstance.ClusterVersion clusterVersion,
Boolean isHighAvailability,
Boolean isSecure,
Boolean isCloudSqlConfigured,
NetworkConfig networkConfig,
ClusterDetails clusterDetails,
List<Node> nodes,
CloudSqlDetails cloudSqlDetails,
String createdBy,
Date timeCreated,
Date timeUpdated,
Integer numberOfNodes,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BdsInstance.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
CloudSqlDetails |
getCloudSqlDetails() |
ClusterDetails |
getClusterDetails() |
BdsInstance.ClusterVersion |
getClusterVersion()
Version of the Hadoop distribution
|
String |
getCompartmentId()
The OCID of the compartment
|
String |
getCreatedBy()
The user who created the BDS instance.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
Name of the BDS instance
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getId()
The OCID of the BDS resource
|
Boolean |
getIsCloudSqlConfigured()
Boolean flag specifying whether we configure Cloud SQL or not
|
Boolean |
getIsHighAvailability()
Boolean flag specifying whether or not the cluster is HA
|
Boolean |
getIsSecure()
Boolean flag specifying whether or not the cluster should be setup as secure.
|
BdsInstance.LifecycleState |
getLifecycleState()
The state of the BDS instance
|
NetworkConfig |
getNetworkConfig() |
List<Node> |
getNodes()
The list of nodes in the BDS instance
|
Integer |
getNumberOfNodes()
Number of nodes that forming the cluster
|
Date |
getTimeCreated()
The time the BDS instance was created.
|
Date |
getTimeUpdated()
The time the BDS instance was updated.
|
int |
hashCode() |
BdsInstance.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","displayName","lifecycleState","clusterVersion","isHighAvailability","isSecure","isCloudSqlConfigured","networkConfig","clusterDetails","nodes","cloudSqlDetails","createdBy","timeCreated","timeUpdated","numberOfNodes","freeformTags","definedTags"}) @Deprecated public BdsInstance(String id, String compartmentId, String displayName, BdsInstance.LifecycleState lifecycleState, BdsInstance.ClusterVersion clusterVersion, Boolean isHighAvailability, Boolean isSecure, Boolean isCloudSqlConfigured, NetworkConfig networkConfig, ClusterDetails clusterDetails, List<Node> nodes, CloudSqlDetails cloudSqlDetails, String createdBy, Date timeCreated, Date timeUpdated, Integer numberOfNodes, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static BdsInstance.Builder builder()
Create a new builder.
public BdsInstance.Builder toBuilder()
public String getId()
The OCID of the BDS resource
public String getCompartmentId()
The OCID of the compartment
public String getDisplayName()
Name of the BDS instance
public BdsInstance.LifecycleState getLifecycleState()
The state of the BDS instance
public BdsInstance.ClusterVersion getClusterVersion()
Version of the Hadoop distribution
public Boolean getIsHighAvailability()
Boolean flag specifying whether or not the cluster is HA
public Boolean getIsSecure()
Boolean flag specifying whether or not the cluster should be setup as secure.
public Boolean getIsCloudSqlConfigured()
Boolean flag specifying whether we configure Cloud SQL or not
public NetworkConfig getNetworkConfig()
public ClusterDetails getClusterDetails()
public CloudSqlDetails getCloudSqlDetails()
public String getCreatedBy()
The user who created the BDS instance.
public Date getTimeCreated()
The time the BDS instance was created. An RFC3339 formatted datetime string
public Date getTimeUpdated()
The time the BDS instance was updated. An RFC3339 formatted datetime string
public Integer getNumberOfNodes()
Number of nodes that forming the cluster
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: {\"bar-key\": \"value\"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {\"foo-namespace\": {\"bar-key\": \"value\"}}
Copyright © 2016–2021. All rights reserved.