Class DrPlanGroup
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.disasterrecovery.model.DrPlanGroup
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public final class DrPlanGroup extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of a group in a DR plan.
 Note: Objects should always be created or deserialized using theDrPlanGroup.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 theDrPlanGroup.Builder, which maintain a set of all explicitly set fields calledDrPlanGroup.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 classDrPlanGroup.Builder
 - 
Constructor SummaryConstructors Constructor Description DrPlanGroup(String id, DrPlanGroupType type, DrPlanGroupRefreshStatus refreshStatus, String displayName, Boolean isPauseEnabled, List<DrPlanStep> steps)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DrPlanGroup.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDisplayName()The display name of the group.StringgetId()The unique id of the group.BooleangetIsPauseEnabled()A flag indicating whether this group should be enabled for execution.DrPlanGroupRefreshStatusgetRefreshStatus()The DR plan group refresh status.List<DrPlanStep>getSteps()The list of steps in the group.DrPlanGroupTypegetType()The group type.inthashCode()DrPlanGroup.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DrPlanGroup@Deprecated @ConstructorProperties({"id","type","refreshStatus","displayName","isPauseEnabled","steps"}) public DrPlanGroup(String id, DrPlanGroupType type, DrPlanGroupRefreshStatus refreshStatus, String displayName, Boolean isPauseEnabled, List<DrPlanStep> steps) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DrPlanGroup.Builder builder() Create a new builder.
 - 
toBuilderpublic DrPlanGroup.Builder toBuilder() 
 - 
getIdpublic String getId() The unique id of the group.Must not be modified by user. Example: sgid1.group..uniqueID - Returns:
- the value
 
 - 
getTypepublic DrPlanGroupType getType() The group type.Example: BUILT_IN - Returns:
- the value
 
 - 
getRefreshStatuspublic DrPlanGroupRefreshStatus getRefreshStatus() The DR plan group refresh status.Example: GROUP_MODIFIED - Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() The display name of the group.Example: DATABASE_SWITCHOVER - Returns:
- the value
 
 - 
getIsPauseEnabledpublic Boolean getIsPauseEnabled() A flag indicating whether this group should be enabled for execution.This flag is only applicable to the USER_DEFINED_PAUSE group. The flag should be null for the remaining group types. Example: true - Returns:
- the value
 
 - 
getStepspublic List<DrPlanStep> getSteps() The list of steps in the group.- 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
 
 
- 
 
-