primaryRegion
The primary Region for a plan.
- Returns:
- The primary Region for a plan.
Serializable
, SdkPojo
, ToCopyableBuilder<Plan.Builder,Plan>
Represents a Region switch plan. A plan defines the steps required to shift traffic from one Amazon Web Services Region to another.
final String
arn()
final Map<String,AssociatedAlarm>
static Plan.Builder
builder()
final String
final boolean
final boolean
equalsBySdkFields(Object obj)
final String
final <T> Optional<T>
getValueForField(String fieldName,
Class<T> clazz)
final boolean
final int
hashCode()
final boolean
final boolean
final boolean
final String
name()
final String
owner()
final String
final RecoveryApproach
final String
final Integer
regions()
static Class<? extends Plan.Builder>
final String
toString()
triggers()
final Instant
final String
version()
copy
The Amazon Resource Name (ARN) of the plan.
isEmpty()
method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.The workflows for a plan.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasWorkflows()
method.
The execution role for a plan.
The recovery time objective for a plan.
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.The associated application health alarms for a plan.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAssociatedAlarms()
method.
isEmpty()
method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.The triggers for a plan.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTriggers()
method.
isEmpty()
method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.The Amazon Web Services Regions for a plan.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRegions()
method.
The recovery approach for a Region switch plan, which can be active/active (activeActive) or active/passive (activePassive).
If the service returns an enum value that is not available in the current SDK version, recoveryApproach
will return RecoveryApproach.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from recoveryApproachAsString()
.
The recovery approach for a Region switch plan, which can be active/active (activeActive) or active/passive (activePassive).
If the service returns an enum value that is not available in the current SDK version, recoveryApproach
will return RecoveryApproach.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from recoveryApproachAsString()
.
The primary Region for a plan.
The timestamp when the plan was last updated.
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Plan.Builder,Plan>
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withsdkFieldNameToField
in interface SdkPojo