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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BdsInstance.BuilderbdsClusterVersionSummary(BdsClusterVersionSummary bdsClusterVersionSummary)BdsInstance.BuilderbootstrapScriptUrl(String bootstrapScriptUrl)pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed.BdsInstancebuild()BdsInstance.BuildercloudSqlDetails(CloudSqlDetails cloudSqlDetails)BdsInstance.BuilderclusterDetails(ClusterDetails clusterDetails)BdsInstance.BuilderclusterProfile(BdsInstance.ClusterProfile clusterProfile)Profile of the Big Data Service cluster.BdsInstance.BuilderclusterVersion(BdsInstance.ClusterVersion clusterVersion)Version of the Hadoop distribution.BdsInstance.BuildercompartmentId(String compartmentId)The OCID of the compartment.BdsInstance.Buildercopy(BdsInstance model)BdsInstance.BuildercreatedBy(String createdBy)The user who created the cluster.BdsInstance.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.BdsInstance.BuilderdisplayName(String displayName)The name of the cluster.BdsInstance.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.BdsInstance.Builderid(String id)The OCID of the Big Data Service resource.BdsInstance.BuilderisCloudSqlConfigured(Boolean isCloudSqlConfigured)Boolean flag specifying whether or not Cloud SQL should be configured.BdsInstance.BuilderisHighAvailability(Boolean isHighAvailability)Boolean flag specifying whether or not the cluster is highly available (HA)BdsInstance.BuilderisKafkaConfigured(Boolean isKafkaConfigured)Boolean flag specifying whether or not Kafka should be configured.BdsInstance.BuilderisSecure(Boolean isSecure)Boolean flag specifying whether or not the cluster should be set up as secure.BdsInstance.BuilderkmsKeyId(String kmsKeyId)The OCID of the Key Management master encryption key.BdsInstance.BuilderlifecycleState(BdsInstance.LifecycleState lifecycleState)The state of the cluster.BdsInstance.BuildernetworkConfig(NetworkConfig networkConfig)BdsInstance.Buildernodes(List<Node> nodes)The list of nodes in the cluster.BdsInstance.BuildernumberOfNodes(Integer numberOfNodes)Number of nodes that forming the clusterBdsInstance.BuildernumberOfNodesRequiringMaintenanceReboot(Integer numberOfNodesRequiringMaintenanceReboot)Number of nodes that require a maintenance rebootBdsInstance.BuildertimeCreated(Date timeCreated)The time the cluster was created, shown as an RFC 3339 formatted datetime string.BdsInstance.BuildertimeUpdated(Date timeUpdated)The time the cluster was updated, shown as an RFC 3339 formatted datetime string.
 
- 
- 
- 
Method Detail- 
idpublic BdsInstance.Builder id(String id) The OCID of the Big Data Service resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic BdsInstance.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic BdsInstance.Builder displayName(String displayName) The name of the cluster.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic BdsInstance.Builder lifecycleState(BdsInstance.LifecycleState lifecycleState) The state of the cluster.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
clusterVersionpublic BdsInstance.Builder clusterVersion(BdsInstance.ClusterVersion clusterVersion) Version of the Hadoop distribution.- Parameters:
- clusterVersion- the value to set
- Returns:
- this builder
 
 - 
isHighAvailabilitypublic 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
 
 - 
isSecurepublic 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
 
 - 
isCloudSqlConfiguredpublic 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
 
 - 
isKafkaConfiguredpublic BdsInstance.Builder isKafkaConfigured(Boolean isKafkaConfigured) Boolean flag specifying whether or not Kafka should be configured.- Parameters:
- isKafkaConfigured- the value to set
- Returns:
- this builder
 
 - 
networkConfigpublic BdsInstance.Builder networkConfig(NetworkConfig networkConfig) 
 - 
clusterDetailspublic BdsInstance.Builder clusterDetails(ClusterDetails clusterDetails) 
 - 
nodespublic BdsInstance.Builder nodes(List<Node> nodes) The list of nodes in the cluster.- Parameters:
- nodes- the value to set
- Returns:
- this builder
 
 - 
cloudSqlDetailspublic BdsInstance.Builder cloudSqlDetails(CloudSqlDetails cloudSqlDetails) 
 - 
createdBypublic BdsInstance.Builder createdBy(String createdBy) The user who created the cluster.- Parameters:
- createdBy- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
numberOfNodespublic BdsInstance.Builder numberOfNodes(Integer numberOfNodes) Number of nodes that forming the cluster- Parameters:
- numberOfNodes- the value to set
- Returns:
- this builder
 
 - 
numberOfNodesRequiringMaintenanceRebootpublic BdsInstance.Builder numberOfNodesRequiringMaintenanceReboot(Integer numberOfNodesRequiringMaintenanceReboot) Number of nodes that require a maintenance reboot- Parameters:
- numberOfNodesRequiringMaintenanceReboot- the value to set
- Returns:
- this builder
 
 - 
bootstrapScriptUrlpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
kmsKeyIdpublic BdsInstance.Builder kmsKeyId(String kmsKeyId) The OCID of the Key Management master encryption key.- Parameters:
- kmsKeyId- the value to set
- Returns:
- this builder
 
 - 
clusterProfilepublic BdsInstance.Builder clusterProfile(BdsInstance.ClusterProfile clusterProfile) Profile of the Big Data Service cluster.- Parameters:
- clusterProfile- the value to set
- Returns:
- this builder
 
 - 
bdsClusterVersionSummarypublic BdsInstance.Builder bdsClusterVersionSummary(BdsClusterVersionSummary bdsClusterVersionSummary) 
 - 
buildpublic BdsInstance build() 
 - 
copypublic BdsInstance.Builder copy(BdsInstance model) 
 
- 
 
-