Package com.oracle.bmc.bds.model
Class NodeReplaceConfiguration
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.bds.model.NodeReplaceConfiguration
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public final class NodeReplaceConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe information about the NodeReplaceConfiguration.
 Note: Objects should always be created or deserialized using theNodeReplaceConfiguration.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 theNodeReplaceConfiguration.Builder, which maintain a set of all explicitly set fields calledNodeReplaceConfiguration.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 SummaryNested Classes Modifier and Type Class Description static classNodeReplaceConfiguration.Builderstatic classNodeReplaceConfiguration.LifecycleStateThe state of the NodeReplaceConfiguration.static classNodeReplaceConfiguration.MetricTypeType of compute instance health metric to use for node replacement
 - 
Constructor SummaryConstructors Constructor Description NodeReplaceConfiguration(String id, String bdsInstanceId, String displayName, LevelTypeDetails levelTypeDetails, NodeReplaceConfiguration.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, NodeReplaceConfiguration.MetricType metricType, Integer durationInMinutes)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeReplaceConfiguration.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBdsInstanceId()The OCID of the bdsInstance which is the parent resource id.StringgetDisplayName()A user-friendly name.IntegergetDurationInMinutes()This value is the minimum period of time to wait for metric emission before triggering node replacement.StringgetId()The unique identifier for the NodeReplaceConfiguration.LevelTypeDetailsgetLevelTypeDetails()NodeReplaceConfiguration.LifecycleStategetLifecycleState()The state of the NodeReplaceConfiguration.NodeReplaceConfiguration.MetricTypegetMetricType()Type of compute instance health metric to use for node replacementDategetTimeCreated()The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime string.DategetTimeUpdated()The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime string.inthashCode()NodeReplaceConfiguration.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
NodeReplaceConfiguration@Deprecated @ConstructorProperties({"id","bdsInstanceId","displayName","levelTypeDetails","lifecycleState","timeCreated","timeUpdated","metricType","durationInMinutes"}) public NodeReplaceConfiguration(String id, String bdsInstanceId, String displayName, LevelTypeDetails levelTypeDetails, NodeReplaceConfiguration.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, NodeReplaceConfiguration.MetricType metricType, Integer durationInMinutes) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static NodeReplaceConfiguration.Builder builder() Create a new builder.
 - 
toBuilderpublic NodeReplaceConfiguration.Builder toBuilder() 
 - 
getIdpublic String getId() The unique identifier for the NodeReplaceConfiguration.- Returns:
- the value
 
 - 
getBdsInstanceIdpublic String getBdsInstanceId() The OCID of the bdsInstance which is the parent resource id.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly name.Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information. - Returns:
- the value
 
 - 
getLevelTypeDetailspublic LevelTypeDetails getLevelTypeDetails() 
 - 
getLifecycleStatepublic NodeReplaceConfiguration.LifecycleState getLifecycleState() The state of the NodeReplaceConfiguration.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime string.- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime string.- Returns:
- the value
 
 - 
getMetricTypepublic NodeReplaceConfiguration.MetricType getMetricType() Type of compute instance health metric to use for node replacement- Returns:
- the value
 
 - 
getDurationInMinutespublic Integer getDurationInMinutes() This value is the minimum period of time to wait for metric emission before triggering node replacement.The value is in minutes. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-