@Generated(value="OracleSDKGenerator", comments="API Version: 20230701") public final class CreateClusterDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of the Cluster.
Note: Objects should always be created or deserialized using the CreateClusterDetails.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 CreateClusterDetails.Builder
, which maintain a
set of all explicitly set fields called CreateClusterDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateClusterDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateClusterDetails(String sddcId,
String computeAvailabilityDomain,
String displayName,
String instanceDisplayNamePrefix,
Integer esxiHostsCount,
NetworkConfiguration networkConfiguration,
Commitment initialCommitment,
String workloadNetworkCidr,
String initialHostShapeName,
Float initialHostOcpuCount,
Boolean isShieldedInstanceEnabled,
String capacityReservationId,
List<DatastoreInfo> datastores,
String vmwareSoftwareVersion,
String esxiSoftwareVersion,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateClusterDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCapacityReservationId()
The OCID of the
Capacity Reservation.
|
String |
getComputeAvailabilityDomain()
The availability domain to create the Cluster’s ESXi hosts in.
|
List<DatastoreInfo> |
getDatastores()
A list of datastore info for the Cluster.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
A descriptive name for the Cluster.
|
Integer |
getEsxiHostsCount()
The number of ESXi hosts to create in the Cluster.
|
String |
getEsxiSoftwareVersion()
The ESXi software bundle to install on the ESXi hosts in the Cluster.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
Commitment |
getInitialCommitment()
The billing option selected during Cluster creation.
|
Float |
getInitialHostOcpuCount()
The initial OCPU count of the Cluster’s ESXi hosts.
|
String |
getInitialHostShapeName()
The initial compute shape of the Cluster’s ESXi hosts.
|
String |
getInstanceDisplayNamePrefix()
A prefix used in the name of each ESXi host and Compute instance in the Cluster.
|
Boolean |
getIsShieldedInstanceEnabled()
Indicates whether shielded instance is enabled for this Cluster.
|
NetworkConfiguration |
getNetworkConfiguration() |
String |
getSddcId()
The OCID of the
SDDC that the Cluster belongs to.
|
String |
getVmwareSoftwareVersion()
The VMware software bundle to install on the ESXi hosts in the Cluster.
|
String |
getWorkloadNetworkCidr()
The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application
workloads.
|
int |
hashCode() |
CreateClusterDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"sddcId","computeAvailabilityDomain","displayName","instanceDisplayNamePrefix","esxiHostsCount","networkConfiguration","initialCommitment","workloadNetworkCidr","initialHostShapeName","initialHostOcpuCount","isShieldedInstanceEnabled","capacityReservationId","datastores","vmwareSoftwareVersion","esxiSoftwareVersion","freeformTags","definedTags"}) public CreateClusterDetails(String sddcId, String computeAvailabilityDomain, String displayName, String instanceDisplayNamePrefix, Integer esxiHostsCount, NetworkConfiguration networkConfiguration, Commitment initialCommitment, String workloadNetworkCidr, String initialHostShapeName, Float initialHostOcpuCount, Boolean isShieldedInstanceEnabled, String capacityReservationId, List<DatastoreInfo> datastores, String vmwareSoftwareVersion, String esxiSoftwareVersion, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static CreateClusterDetails.Builder builder()
Create a new builder.
public CreateClusterDetails.Builder toBuilder()
public String getSddcId()
The OCID of the SDDC that the Cluster belongs to.
public String getComputeAvailabilityDomain()
The availability domain to create the Cluster’s ESXi hosts in. For multi-AD Cluster
deployment, set to multi-AD
.
public String getDisplayName()
A descriptive name for the Cluster. Cluster name requirements are 1-16 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the region. Avoid entering confidential information.
public String getInstanceDisplayNamePrefix()
A prefix used in the name of each ESXi host and Compute instance in the Cluster. If this
isn’t set, the Cluster’s displayName
is used as the prefix.
For example, if the value is myCluster
, the ESXi hosts are named myCluster-1
, myCluster-2
, and so on.
public Integer getEsxiHostsCount()
The number of ESXi hosts to create in the Cluster. You can add more hosts later (see createEsxiHost
).
*Note:** If you later delete EXSi hosts from a production Cluster to make SDDC total host count less than 3, you are still billed for the 3 minimum recommended ESXi hosts. Also, you cannot add more VMware workloads to the Cluster until the SDDC again has at least 3 ESXi hosts.
public NetworkConfiguration getNetworkConfiguration()
public Commitment getInitialCommitment()
The billing option selected during Cluster creation. listSupportedCommitments
.
public String getWorkloadNetworkCidr()
The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application workloads.
public String getInitialHostShapeName()
The initial compute shape of the Cluster’s ESXi hosts. listSupportedHostShapes
.
public Float getInitialHostOcpuCount()
The initial OCPU count of the Cluster’s ESXi hosts.
public Boolean getIsShieldedInstanceEnabled()
Indicates whether shielded instance is enabled for this Cluster.
public String getCapacityReservationId()
The OCID of the Capacity Reservation.
public List<DatastoreInfo> getDatastores()
A list of datastore info for the Cluster. This value is required only when initialHostShapeName
is a standard shape.
public String getVmwareSoftwareVersion()
The VMware software bundle to install on the ESXi hosts in the Cluster. To get a list of the
available versions, use listSupportedVmwareSoftwareVersions
.
public String getEsxiSoftwareVersion()
The ESXi software bundle to install on the ESXi hosts in the Cluster. Only versions under the
same vmwareSoftwareVersion and have been validate by Oracle Cloud VMware Solution will be
accepted. To get a list of the available versions, use listSupportedVmwareSoftwareVersions
.
public Map<String,String> getFreeformTags()
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.