@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class UpdateDeploymentDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The information to use to update a Deployment.
Note: Objects should always be created or deserialized using the UpdateDeploymentDetails.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 UpdateDeploymentDetails.Builder
, which maintain a
set of all explicitly set fields called UpdateDeploymentDetails.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 |
UpdateDeploymentDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateDeploymentDetails(String displayName,
LicenseModel licenseModel,
EnvironmentType environmentType,
String description,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
List<String> nsgIds,
String subnetId,
String loadBalancerSubnetId,
Boolean isPublic,
String fqdn,
Integer cpuCoreCount,
Boolean isAutoScalingEnabled,
UpdateOggDeploymentDetails oggData,
UpdateMaintenanceWindowDetails maintenanceWindow,
UpdateMaintenanceConfigurationDetails maintenanceConfiguration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateDeploymentDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
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 |
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 |
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.
|
UpdateMaintenanceConfigurationDetails |
getMaintenanceConfiguration() |
UpdateMaintenanceWindowDetails |
getMaintenanceWindow() |
List<String> |
getNsgIds()
An array of Network Security Group OCIDs used to define network access for either Deployments
or Connections.
|
UpdateOggDeploymentDetails |
getOggData() |
String |
getSubnetId()
The OCID of the
subnet of the deployment’s private endpoint.
|
int |
hashCode() |
UpdateDeploymentDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","licenseModel","environmentType","description","freeformTags","definedTags","nsgIds","subnetId","loadBalancerSubnetId","isPublic","fqdn","cpuCoreCount","isAutoScalingEnabled","oggData","maintenanceWindow","maintenanceConfiguration"}) public UpdateDeploymentDetails(String displayName, LicenseModel licenseModel, EnvironmentType environmentType, String description, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<String> nsgIds, String subnetId, String loadBalancerSubnetId, Boolean isPublic, String fqdn, Integer cpuCoreCount, Boolean isAutoScalingEnabled, UpdateOggDeploymentDetails oggData, UpdateMaintenanceWindowDetails maintenanceWindow, UpdateMaintenanceConfigurationDetails maintenanceConfiguration)
public static UpdateDeploymentDetails.Builder builder()
Create a new builder.
public UpdateDeploymentDetails.Builder toBuilder()
public String getDisplayName()
An object’s Display Name.
public LicenseModel getLicenseModel()
The Oracle license model that applies to a Deployment.
public EnvironmentType getEnvironmentType()
Specifies whether the deployment is used in a production or development/testing environment.
public String getDescription()
Metadata about this specific object.
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 List<String> getNsgIds()
An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.
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.
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.
public Boolean getIsPublic()
True if this object is publicly available.
public String getFqdn()
A three-label Fully Qualified Domain Name (FQDN) for a resource.
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 UpdateOggDeploymentDetails getOggData()
public UpdateMaintenanceWindowDetails getMaintenanceWindow()
public UpdateMaintenanceConfigurationDetails getMaintenanceConfiguration()
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.