public static class BdsInstanceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BdsInstanceSummary |
build() |
BdsInstanceSummary.Builder |
clusterProfile(BdsInstance.ClusterProfile clusterProfile)
Profile of the Big Data Service cluster.
|
BdsInstanceSummary.Builder |
clusterVersion(BdsInstance.ClusterVersion clusterVersion)
Version of the Hadoop distribution.
|
BdsInstanceSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
BdsInstanceSummary.Builder |
copy(BdsInstanceSummary model) |
BdsInstanceSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BdsInstanceSummary.Builder |
displayName(String displayName)
The name of the cluster.
|
BdsInstanceSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
BdsInstanceSummary.Builder |
id(String id)
The OCID of the Big Data Service resource.
|
BdsInstanceSummary.Builder |
isCloudSqlConfigured(Boolean isCloudSqlConfigured)
Boolean flag specifying whether Cloud SQL is configured or not.
|
BdsInstanceSummary.Builder |
isHighAvailability(Boolean isHighAvailability)
Boolean flag specifying whether or not the cluster is highly available(HA).
|
BdsInstanceSummary.Builder |
isKafkaConfigured(Boolean isKafkaConfigured)
Boolean flag specifying whether Kafka is configured or not.
|
BdsInstanceSummary.Builder |
isSecure(Boolean isSecure)
Boolean flag specifying whether or not the cluster should be set up as secure.
|
BdsInstanceSummary.Builder |
lifecycleState(BdsInstance.LifecycleState lifecycleState)
The state of the cluster.
|
BdsInstanceSummary.Builder |
numberOfNodes(Integer numberOfNodes)
The number of nodes that form the cluster.
|
BdsInstanceSummary.Builder |
numberOfNodesRequiringMaintenanceReboot(Integer numberOfNodesRequiringMaintenanceReboot)
Number of nodes that require a maintenance reboot
|
BdsInstanceSummary.Builder |
timeCreated(Date timeCreated)
The time the cluster was created, shown as an RFC 3339 formatted datetime string.
|
public BdsInstanceSummary.Builder id(String id)
The OCID of the Big Data Service resource.
id
- the value to setpublic BdsInstanceSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic BdsInstanceSummary.Builder displayName(String displayName)
The name of the cluster.
displayName
- the value to setpublic BdsInstanceSummary.Builder lifecycleState(BdsInstance.LifecycleState lifecycleState)
The state of the cluster.
lifecycleState
- the value to setpublic BdsInstanceSummary.Builder numberOfNodes(Integer numberOfNodes)
The number of nodes that form the cluster.
numberOfNodes
- the value to setpublic BdsInstanceSummary.Builder numberOfNodesRequiringMaintenanceReboot(Integer numberOfNodesRequiringMaintenanceReboot)
Number of nodes that require a maintenance reboot
numberOfNodesRequiringMaintenanceReboot
- the value to setpublic BdsInstanceSummary.Builder clusterVersion(BdsInstance.ClusterVersion clusterVersion)
Version of the Hadoop distribution.
clusterVersion
- the value to setpublic BdsInstanceSummary.Builder isHighAvailability(Boolean isHighAvailability)
Boolean flag specifying whether or not the cluster is highly available(HA).
isHighAvailability
- the value to setpublic BdsInstanceSummary.Builder isSecure(Boolean isSecure)
Boolean flag specifying whether or not the cluster should be set up as secure.
isSecure
- the value to setpublic BdsInstanceSummary.Builder isCloudSqlConfigured(Boolean isCloudSqlConfigured)
Boolean flag specifying whether Cloud SQL is configured or not.
isCloudSqlConfigured
- the value to setpublic BdsInstanceSummary.Builder isKafkaConfigured(Boolean isKafkaConfigured)
Boolean flag specifying whether Kafka is configured or not.
isKafkaConfigured
- the value to setpublic BdsInstanceSummary.Builder clusterProfile(BdsInstance.ClusterProfile clusterProfile)
Profile of the Big Data Service cluster.
clusterProfile
- the value to setpublic BdsInstanceSummary.Builder timeCreated(Date timeCreated)
The time the cluster was created, shown as an RFC 3339 formatted datetime string.
timeCreated
- the value to setpublic BdsInstanceSummary.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 BdsInstanceSummary.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 BdsInstanceSummary build()
public BdsInstanceSummary.Builder copy(BdsInstanceSummary model)
Copyright © 2016–2024. All rights reserved.