public static class BdsInstance.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BdsInstance.Builder |
bootstrapScriptUrl(String bootstrapScriptUrl)
pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and
executed.
|
BdsInstance |
build() |
BdsInstance.Builder |
cloudSqlDetails(CloudSqlDetails cloudSqlDetails) |
BdsInstance.Builder |
clusterDetails(ClusterDetails clusterDetails) |
BdsInstance.Builder |
clusterProfile(BdsInstance.ClusterProfile clusterProfile)
Profile of the Big Data Service cluster.
|
BdsInstance.Builder |
clusterVersion(BdsInstance.ClusterVersion clusterVersion)
Version of the Hadoop distribution.
|
BdsInstance.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
BdsInstance.Builder |
copy(BdsInstance model) |
BdsInstance.Builder |
createdBy(String createdBy)
The user who created the cluster.
|
BdsInstance.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BdsInstance.Builder |
displayName(String displayName)
The name of the cluster.
|
BdsInstance.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
BdsInstance.Builder |
id(String id)
The OCID of the Big Data Service resource.
|
BdsInstance.Builder |
isCloudSqlConfigured(Boolean isCloudSqlConfigured)
Boolean flag specifying whether or not Cloud SQL should be configured.
|
BdsInstance.Builder |
isHighAvailability(Boolean isHighAvailability)
Boolean flag specifying whether or not the cluster is highly available (HA)
|
BdsInstance.Builder |
isKafkaConfigured(Boolean isKafkaConfigured)
Boolean flag specifying whether or not Kafka should be configured.
|
BdsInstance.Builder |
isSecure(Boolean isSecure)
Boolean flag specifying whether or not the cluster should be set up as secure.
|
BdsInstance.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the Key Management master encryption key.
|
BdsInstance.Builder |
lifecycleState(BdsInstance.LifecycleState lifecycleState)
The state of the cluster.
|
BdsInstance.Builder |
networkConfig(NetworkConfig networkConfig) |
BdsInstance.Builder |
nodes(List<Node> nodes)
The list of nodes in the cluster.
|
BdsInstance.Builder |
numberOfNodes(Integer numberOfNodes)
Number of nodes that forming the cluster
|
BdsInstance.Builder |
numberOfNodesRequiringMaintenanceReboot(Integer numberOfNodesRequiringMaintenanceReboot)
Number of nodes that require a maintenance reboot
|
BdsInstance.Builder |
timeCreated(Date timeCreated)
The time the cluster was created, shown as an RFC 3339 formatted datetime string.
|
BdsInstance.Builder |
timeUpdated(Date timeUpdated)
The time the cluster was updated, shown as an RFC 3339 formatted datetime string.
|
public BdsInstance.Builder id(String id)
The OCID of the Big Data Service resource.
id
- the value to setpublic BdsInstance.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic BdsInstance.Builder displayName(String displayName)
The name of the cluster.
displayName
- the value to setpublic BdsInstance.Builder lifecycleState(BdsInstance.LifecycleState lifecycleState)
The state of the cluster.
lifecycleState
- the value to setpublic BdsInstance.Builder clusterVersion(BdsInstance.ClusterVersion clusterVersion)
Version of the Hadoop distribution.
clusterVersion
- the value to setpublic BdsInstance.Builder isHighAvailability(Boolean isHighAvailability)
Boolean flag specifying whether or not the cluster is highly available (HA)
isHighAvailability
- the value to setpublic BdsInstance.Builder isSecure(Boolean isSecure)
Boolean flag specifying whether or not the cluster should be set up as secure.
isSecure
- the value to setpublic BdsInstance.Builder isCloudSqlConfigured(Boolean isCloudSqlConfigured)
Boolean flag specifying whether or not Cloud SQL should be configured.
isCloudSqlConfigured
- the value to setpublic BdsInstance.Builder isKafkaConfigured(Boolean isKafkaConfigured)
Boolean flag specifying whether or not Kafka should be configured.
isKafkaConfigured
- the value to setpublic BdsInstance.Builder networkConfig(NetworkConfig networkConfig)
public BdsInstance.Builder clusterDetails(ClusterDetails clusterDetails)
public BdsInstance.Builder nodes(List<Node> nodes)
The list of nodes in the cluster.
nodes
- the value to setpublic BdsInstance.Builder cloudSqlDetails(CloudSqlDetails cloudSqlDetails)
public BdsInstance.Builder createdBy(String createdBy)
The user who created the cluster.
createdBy
- the value to setpublic BdsInstance.Builder timeCreated(Date timeCreated)
The time the cluster was created, shown as an RFC 3339 formatted datetime string.
timeCreated
- the value to setpublic BdsInstance.Builder timeUpdated(Date timeUpdated)
The time the cluster was updated, shown as an RFC 3339 formatted datetime string.
timeUpdated
- the value to setpublic BdsInstance.Builder numberOfNodes(Integer numberOfNodes)
Number of nodes that forming the cluster
numberOfNodes
- the value to setpublic BdsInstance.Builder numberOfNodesRequiringMaintenanceReboot(Integer numberOfNodesRequiringMaintenanceReboot)
Number of nodes that require a maintenance reboot
numberOfNodesRequiringMaintenanceReboot
- the value to setpublic BdsInstance.Builder bootstrapScriptUrl(String bootstrapScriptUrl)
pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed.
bootstrapScriptUrl
- the value to setpublic BdsInstance.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope. Exists
for cross-compatibility only. For example, {"bar-key": "value"}
freeformTags
- the value to setpublic BdsInstance.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
example, {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic BdsInstance.Builder kmsKeyId(String kmsKeyId)
The OCID of the Key Management master encryption key.
kmsKeyId
- the value to setpublic BdsInstance.Builder clusterProfile(BdsInstance.ClusterProfile clusterProfile)
Profile of the Big Data Service cluster.
clusterProfile
- the value to setpublic BdsInstance build()
public BdsInstance.Builder copy(BdsInstance model)
Copyright © 2016–2024. All rights reserved.