@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class CreateDeploymentDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The information about a new Deployment.
Note: Objects should always be created or deserialized using the CreateDeploymentDetails.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 CreateDeploymentDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateDeploymentDetails.Builder |
Constructor and Description |
---|
CreateDeploymentDetails(String displayName,
LicenseModel licenseModel,
String description,
String compartmentId,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String deploymentBackupId,
String subnetId,
String fqdn,
List<String> nsgIds,
Boolean isPublic,
Integer cpuCoreCount,
Boolean isAutoScalingEnabled,
DeploymentType deploymentType,
CreateOggDeploymentDetails oggData,
CreateMaintenanceWindowDetails maintenanceWindow)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateDeploymentDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the
compartment being referenced.
|
Integer |
getCpuCoreCount()
The Minimum number of OCPUs to be made available for this Deployment.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Tags defined for this resource.
|
String |
getDeploymentBackupId()
The OCID of the
backup being referenced.
|
DeploymentType |
getDeploymentType()
The type of deployment, which can be any one of the Allowed values.
|
String |
getDescription()
Metadata about this specific object.
|
String |
getDisplayName()
An object’s Display Name.
|
String |
getFqdn()
A three-label Fully Qualified Domain Name (FQDN) for a resource.
|
Map<String,String> |
getFreeformTags()
A simple key-value pair that is applied without any predefined name, type, or scope.
|
Boolean |
getIsAutoScalingEnabled()
Indicates if auto scaling is enabled for the Deployment’s CPU core count.
|
Boolean |
getIsPublic()
True if this object is publicly available.
|
LicenseModel |
getLicenseModel()
The Oracle license model that applies to a Deployment.
|
CreateMaintenanceWindowDetails |
getMaintenanceWindow() |
List<String> |
getNsgIds()
An array of Network Security Group OCIDs used to define network access for either Deployments
or Connections.
|
CreateOggDeploymentDetails |
getOggData() |
String |
getSubnetId()
The OCID of the
subnet being referenced.
|
int |
hashCode() |
CreateDeploymentDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","licenseModel","description","compartmentId","freeformTags","definedTags","deploymentBackupId","subnetId","fqdn","nsgIds","isPublic","cpuCoreCount","isAutoScalingEnabled","deploymentType","oggData","maintenanceWindow"}) public CreateDeploymentDetails(String displayName, LicenseModel licenseModel, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String deploymentBackupId, String subnetId, String fqdn, List<String> nsgIds, Boolean isPublic, Integer cpuCoreCount, Boolean isAutoScalingEnabled, DeploymentType deploymentType, CreateOggDeploymentDetails oggData, CreateMaintenanceWindowDetails maintenanceWindow)
public static CreateDeploymentDetails.Builder builder()
Create a new builder.
public CreateDeploymentDetails.Builder toBuilder()
public String getDisplayName()
An object’s Display Name.
public LicenseModel getLicenseModel()
The Oracle license model that applies to a Deployment.
public String getDescription()
Metadata about this specific object.
public String getCompartmentId()
The OCID of the compartment being referenced.
public Map<String,String> getFreeformTags()
A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getDefinedTags()
Tags defined for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
public String getDeploymentBackupId()
The OCID of the backup being referenced.
public String getFqdn()
A three-label Fully Qualified Domain Name (FQDN) for a resource.
public List<String> getNsgIds()
An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.
public Boolean getIsPublic()
True if this object is publicly available.
public Integer getCpuCoreCount()
The Minimum number of OCPUs to be made available for this Deployment.
public Boolean getIsAutoScalingEnabled()
Indicates if auto scaling is enabled for the Deployment’s CPU core count.
public DeploymentType getDeploymentType()
The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value ‘OGG’ is maintained for backward compatibility purposes. Its use is discouraged in favor of ‘DATABASE_ORACLE’.
public CreateOggDeploymentDetails getOggData()
public CreateMaintenanceWindowDetails getMaintenanceWindow()
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–2023. All rights reserved.