primaryLocation
The Amazon Web Services Region where the primary canary is located.
- Returns:
- The Amazon Web Services Region where the primary canary is located.
Serializable, SdkPojo, ToCopyableBuilder<MultiLocationConfig.Builder,MultiLocationConfig> A structure that contains information about the multi-location configuration of a canary, including whether it is a primary or replica, the primary location, and the list of replicas.
static MultiLocationConfig.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T> getValueForField(String fieldName,
Class<T> clazz) final inthashCode()final booleanfinal LocationTypePrimary or a Replica in the multi-location
configuration.final StringPrimary or a Replica in the multi-location
configuration.final Stringreplicas()final ReplicationStatefinal Stringstatic Class<? extends MultiLocationConfig.Builder> final StringtoString()copy
Indicates whether this canary is the Primary or a Replica in the multi-location
configuration.
If the service returns an enum value that is not available in the current SDK version, locationType will
return LocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
locationTypeAsString().
Primary or a Replica in the multi-location
configuration.
Indicates whether this canary is the Primary or a Replica in the multi-location
configuration.
If the service returns an enum value that is not available in the current SDK version, locationType will
return LocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
locationTypeAsString().
Primary or a Replica in the multi-location
configuration.The Amazon Web Services Region where the primary canary is located.
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.A list of replicas for this canary. This field is present only for the primary location canary.
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 hasReplicas() method.
The overall replication state of the canary across all replica locations. This field is present only for the
primary location canary. Valid values are InProgress, InSync, and
Inconsistent.
If the service returns an enum value that is not available in the current SDK version, replicationState
will return ReplicationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from replicationStateAsString().
InProgress, InSync, and
Inconsistent.
The overall replication state of the canary across all replica locations. This field is present only for the
primary location canary. Valid values are InProgress, InSync, and
Inconsistent.
If the service returns an enum value that is not available in the current SDK version, replicationState
will return ReplicationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from replicationStateAsString().
InProgress, InSync, and
Inconsistent.ToCopyableBuildertoBuilder in interface ToCopyableBuilder<MultiLocationConfig.Builder,MultiLocationConfig> SdkPojoSdkPojo 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 SdkPojoobj - the object to be compared withsdkFieldNameToField in interface SdkPojo