Package com.oracle.bmc.bds.model
Class BdsInstance.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.BdsInstance.Builder
-
- Enclosing class:
- BdsInstance
public static class BdsInstance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BdsInstance.Builder
bdsClusterVersionSummary(BdsClusterVersionSummary bdsClusterVersionSummary)
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 clusterBdsInstance.Builder
numberOfNodesRequiringMaintenanceReboot(Integer numberOfNodesRequiringMaintenanceReboot)
Number of nodes that require a maintenance rebootBdsInstance.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.
-
-
-
Method Detail
-
id
public BdsInstance.Builder id(String id)
The OCID of the Big Data Service resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public BdsInstance.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public BdsInstance.Builder displayName(String displayName)
The name of the cluster.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
lifecycleState
public BdsInstance.Builder lifecycleState(BdsInstance.LifecycleState lifecycleState)
The state of the cluster.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
clusterVersion
public BdsInstance.Builder clusterVersion(BdsInstance.ClusterVersion clusterVersion)
Version of the Hadoop distribution.- Parameters:
clusterVersion
- the value to set- Returns:
- this builder
-
isHighAvailability
public BdsInstance.Builder isHighAvailability(Boolean isHighAvailability)
Boolean flag specifying whether or not the cluster is highly available (HA)- Parameters:
isHighAvailability
- the value to set- Returns:
- this builder
-
isSecure
public BdsInstance.Builder isSecure(Boolean isSecure)
Boolean flag specifying whether or not the cluster should be set up as secure.- Parameters:
isSecure
- the value to set- Returns:
- this builder
-
isCloudSqlConfigured
public BdsInstance.Builder isCloudSqlConfigured(Boolean isCloudSqlConfigured)
Boolean flag specifying whether or not Cloud SQL should be configured.- Parameters:
isCloudSqlConfigured
- the value to set- Returns:
- this builder
-
isKafkaConfigured
public BdsInstance.Builder isKafkaConfigured(Boolean isKafkaConfigured)
Boolean flag specifying whether or not Kafka should be configured.- Parameters:
isKafkaConfigured
- the value to set- Returns:
- this builder
-
networkConfig
public BdsInstance.Builder networkConfig(NetworkConfig networkConfig)
-
clusterDetails
public BdsInstance.Builder clusterDetails(ClusterDetails clusterDetails)
-
nodes
public BdsInstance.Builder nodes(List<Node> nodes)
The list of nodes in the cluster.- Parameters:
nodes
- the value to set- Returns:
- this builder
-
cloudSqlDetails
public BdsInstance.Builder cloudSqlDetails(CloudSqlDetails cloudSqlDetails)
-
createdBy
public BdsInstance.Builder createdBy(String createdBy)
The user who created the cluster.- Parameters:
createdBy
- the value to set- Returns:
- this builder
-
timeCreated
public BdsInstance.Builder timeCreated(Date timeCreated)
The time the cluster was created, shown as an RFC 3339 formatted datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public BdsInstance.Builder timeUpdated(Date timeUpdated)
The time the cluster was updated, shown as an RFC 3339 formatted datetime string.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
numberOfNodes
public BdsInstance.Builder numberOfNodes(Integer numberOfNodes)
Number of nodes that forming the cluster- Parameters:
numberOfNodes
- the value to set- Returns:
- this builder
-
numberOfNodesRequiringMaintenanceReboot
public BdsInstance.Builder numberOfNodesRequiringMaintenanceReboot(Integer numberOfNodesRequiringMaintenanceReboot)
Number of nodes that require a maintenance reboot- Parameters:
numberOfNodesRequiringMaintenanceReboot
- the value to set- Returns:
- this builder
-
bootstrapScriptUrl
public BdsInstance.Builder bootstrapScriptUrl(String bootstrapScriptUrl)
pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed.- Parameters:
bootstrapScriptUrl
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
kmsKeyId
public BdsInstance.Builder kmsKeyId(String kmsKeyId)
The OCID of the Key Management master encryption key.- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
clusterProfile
public BdsInstance.Builder clusterProfile(BdsInstance.ClusterProfile clusterProfile)
Profile of the Big Data Service cluster.- Parameters:
clusterProfile
- the value to set- Returns:
- this builder
-
bdsClusterVersionSummary
public BdsInstance.Builder bdsClusterVersionSummary(BdsClusterVersionSummary bdsClusterVersionSummary)
-
build
public BdsInstance build()
-
copy
public BdsInstance.Builder copy(BdsInstance model)
-
-