Package com.oracle.bmc.goldengate.model
Class CreateDeploymentDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.CreateDeploymentDetails
-
@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 theCreateDeploymentDetails.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 theCreateDeploymentDetails.Builder
, which maintain a set of all explicitly set fields calledCreateDeploymentDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateDeploymentDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateDeploymentDetails(String displayName, LicenseModel licenseModel, EnvironmentType environmentType, String description, String compartmentId, String sourceDeploymentId, String availabilityDomain, String faultDomain, List<DeploymentPlacementDetails> placements, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<AddResourceLockDetails> locks, String deploymentBackupId, String subnetId, String loadBalancerSubnetId, String fqdn, List<String> nsgIds, Boolean isPublic, Integer cpuCoreCount, Boolean isAutoScalingEnabled, DeploymentType deploymentType, CreateOggDeploymentDetails oggData, CreateMaintenanceWindowDetails maintenanceWindow, CreateMaintenanceConfigurationDetails maintenanceConfiguration, CreateBackupScheduleDetails backupSchedule)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDeploymentDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAvailabilityDomain()
The availability domain of a placement.CreateBackupScheduleDetails
getBackupSchedule()
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.EnvironmentType
getEnvironmentType()
Specifies whether the deployment is used in a production or development/testing environment.String
getFaultDomain()
The fault domain of a placement.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.String
getLoadBalancerSubnetId()
The OCID of a public subnet in the customer tenancy.List<AddResourceLockDetails>
getLocks()
Locks associated with this resource.CreateMaintenanceConfigurationDetails
getMaintenanceConfiguration()
CreateMaintenanceWindowDetails
getMaintenanceWindow()
List<String>
getNsgIds()
An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.CreateOggDeploymentDetails
getOggData()
List<DeploymentPlacementDetails>
getPlacements()
An array of local peers of deploymentString
getSourceDeploymentId()
The OCID of the deployment being referenced.String
getSubnetId()
The OCID of the subnet of the deployment’s private endpoint.int
hashCode()
CreateDeploymentDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateDeploymentDetails
@Deprecated @ConstructorProperties({"displayName","licenseModel","environmentType","description","compartmentId","sourceDeploymentId","availabilityDomain","faultDomain","placements","freeformTags","definedTags","locks","deploymentBackupId","subnetId","loadBalancerSubnetId","fqdn","nsgIds","isPublic","cpuCoreCount","isAutoScalingEnabled","deploymentType","oggData","maintenanceWindow","maintenanceConfiguration","backupSchedule"}) public CreateDeploymentDetails(String displayName, LicenseModel licenseModel, EnvironmentType environmentType, String description, String compartmentId, String sourceDeploymentId, String availabilityDomain, String faultDomain, List<DeploymentPlacementDetails> placements, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<AddResourceLockDetails> locks, String deploymentBackupId, String subnetId, String loadBalancerSubnetId, String fqdn, List<String> nsgIds, Boolean isPublic, Integer cpuCoreCount, Boolean isAutoScalingEnabled, DeploymentType deploymentType, CreateOggDeploymentDetails oggData, CreateMaintenanceWindowDetails maintenanceWindow, CreateMaintenanceConfigurationDetails maintenanceConfiguration, CreateBackupScheduleDetails backupSchedule)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDeploymentDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateDeploymentDetails.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
An object’s Display Name.- Returns:
- the value
-
getLicenseModel
public LicenseModel getLicenseModel()
The Oracle license model that applies to a Deployment.- Returns:
- the value
-
getEnvironmentType
public EnvironmentType getEnvironmentType()
Specifies whether the deployment is used in a production or development/testing environment.- Returns:
- the value
-
getDescription
public String getDescription()
Metadata about this specific object.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment being referenced.- Returns:
- the value
-
getSourceDeploymentId
public String getSourceDeploymentId()
The OCID of the deployment being referenced.- Returns:
- the value
-
getAvailabilityDomain
public String getAvailabilityDomain()
The availability domain of a placement.- Returns:
- the value
-
getFaultDomain
public String getFaultDomain()
The fault domain of a placement.- Returns:
- the value
-
getPlacements
public List<DeploymentPlacementDetails> getPlacements()
An array of local peers of deployment- Returns:
- the value
-
getFreeformTags
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"}
- Returns:
- the value
-
getDefinedTags
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"}}
- Returns:
- the value
-
getLocks
public List<AddResourceLockDetails> getLocks()
Locks associated with this resource.- Returns:
- the value
-
getDeploymentBackupId
public String getDeploymentBackupId()
The OCID of the backup being referenced.- Returns:
- the value
-
getSubnetId
public String getSubnetId()
The OCID of the subnet of the deployment’s private endpoint.The subnet must be a private subnet. For backward compatibility, public subnets are allowed until May 31 2025, after which the private subnet will be enforced.
- Returns:
- the value
-
getLoadBalancerSubnetId
public String getLoadBalancerSubnetId()
The OCID of a public subnet in the customer tenancy.Can be provided only for public deployments. If provided, the loadbalancer will be created in this subnet instead of the service tenancy. For backward compatibility, this is an optional property. It will become mandatory for public deployments after October 1, 2024.
- Returns:
- the value
-
getFqdn
public String getFqdn()
A three-label Fully Qualified Domain Name (FQDN) for a resource.- Returns:
- the value
-
getNsgIds
public List<String> getNsgIds()
An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.- Returns:
- the value
-
getIsPublic
public Boolean getIsPublic()
True if this object is publicly available.- Returns:
- the value
-
getCpuCoreCount
public Integer getCpuCoreCount()
The Minimum number of OCPUs to be made available for this Deployment.- Returns:
- the value
-
getIsAutoScalingEnabled
public Boolean getIsAutoScalingEnabled()
Indicates if auto scaling is enabled for the Deployment’s CPU core count.- Returns:
- the value
-
getDeploymentType
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’.
- Returns:
- the value
-
getOggData
public CreateOggDeploymentDetails getOggData()
-
getMaintenanceWindow
public CreateMaintenanceWindowDetails getMaintenanceWindow()
-
getMaintenanceConfiguration
public CreateMaintenanceConfigurationDetails getMaintenanceConfiguration()
-
getBackupSchedule
public CreateBackupScheduleDetails getBackupSchedule()
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-