@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class DeploymentEnvironmentSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The metadata specific to a production or development/testing environment.
Note: Objects should always be created or deserialized using the DeploymentEnvironmentSummary.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 DeploymentEnvironmentSummary.Builder
, which maintain a
set of all explicitly set fields called DeploymentEnvironmentSummary.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 |
DeploymentEnvironmentSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DeploymentEnvironmentSummary(EnvironmentType environmentType,
DeploymentCategory category,
String displayName,
Integer minCpuCoreCount,
Integer defaultCpuCoreCount,
Integer maxCpuCoreCount,
Boolean isAutoScalingEnabledByDefault,
Integer networkBandwidthPerOcpuInGbps,
Integer memoryPerOcpuInGBs,
Integer storageUsageLimitPerOcpuInGBs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DeploymentEnvironmentSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
DeploymentCategory |
getCategory()
The deployment category defines the broad separation of the deployment type into three
categories.
|
Integer |
getDefaultCpuCoreCount()
The default CPU core count.
|
String |
getDisplayName()
An object’s Display Name.
|
EnvironmentType |
getEnvironmentType()
Specifies whether the deployment is used in a production or development/testing environment.
|
Boolean |
getIsAutoScalingEnabledByDefault()
Specifies whether the “Auto scaling” option should be enabled by default or not.
|
Integer |
getMaxCpuCoreCount()
The maximum CPU core count.
|
Integer |
getMemoryPerOcpuInGBs()
The multiplier value between CPU core count and memory size.
|
Integer |
getMinCpuCoreCount()
The minimum CPU core count.
|
Integer |
getNetworkBandwidthPerOcpuInGbps()
The multiplier value between CPU core count and network bandwidth.
|
Integer |
getStorageUsageLimitPerOcpuInGBs()
The multiplier value between CPU core count and storage usage limit size.
|
int |
hashCode() |
DeploymentEnvironmentSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"environmentType","category","displayName","minCpuCoreCount","defaultCpuCoreCount","maxCpuCoreCount","isAutoScalingEnabledByDefault","networkBandwidthPerOcpuInGbps","memoryPerOcpuInGBs","storageUsageLimitPerOcpuInGBs"}) public DeploymentEnvironmentSummary(EnvironmentType environmentType, DeploymentCategory category, String displayName, Integer minCpuCoreCount, Integer defaultCpuCoreCount, Integer maxCpuCoreCount, Boolean isAutoScalingEnabledByDefault, Integer networkBandwidthPerOcpuInGbps, Integer memoryPerOcpuInGBs, Integer storageUsageLimitPerOcpuInGBs)
public static DeploymentEnvironmentSummary.Builder builder()
Create a new builder.
public DeploymentEnvironmentSummary.Builder toBuilder()
public EnvironmentType getEnvironmentType()
Specifies whether the deployment is used in a production or development/testing environment.
public DeploymentCategory getCategory()
The deployment category defines the broad separation of the deployment type into three categories. Currently the separation is ‘DATA_REPLICATION’, ‘STREAM_ANALYTICS’ and ‘DATA_TRANSFORMS’.
public String getDisplayName()
An object’s Display Name.
public Integer getMinCpuCoreCount()
The minimum CPU core count.
public Integer getDefaultCpuCoreCount()
The default CPU core count.
public Integer getMaxCpuCoreCount()
The maximum CPU core count.
public Boolean getIsAutoScalingEnabledByDefault()
Specifies whether the “Auto scaling” option should be enabled by default or not.
public Integer getNetworkBandwidthPerOcpuInGbps()
The multiplier value between CPU core count and network bandwidth.
public Integer getMemoryPerOcpuInGBs()
The multiplier value between CPU core count and memory size.
public Integer getStorageUsageLimitPerOcpuInGBs()
The multiplier value between CPU core count and storage usage limit size.
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.