Class RegionStatus
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RegionStatus.Builder,RegionStatus>
Represents the status of a multi-region operation in a specific Amazon Web Services Region. This structure is used to report per-region progress for both telemetry evaluation and telemetry rule replication.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RegionStatus.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe reason for a failure status in this region.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringregion()The Amazon Web Services Region code (for example,eu-west-1orus-west-2) that this status applies to.final StringruleArn()The Amazon Resource Name (ARN) of the telemetry rule in this spoke region.static Class<? extends RegionStatus.Builder> final Stringstatus()The status of the operation in this region.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
region
The Amazon Web Services Region code (for example,
eu-west-1orus-west-2) that this status applies to.- Returns:
- The Amazon Web Services Region code (for example,
eu-west-1orus-west-2) that this status applies to.
-
status
The status of the operation in this region. For telemetry evaluation, valid values include
STARTING,RUNNING, andFAILED_START. For telemetry rules, valid values includePENDING,ACTIVE, andFAILED.- Returns:
- The status of the operation in this region. For telemetry evaluation, valid values include
STARTING,RUNNING, andFAILED_START. For telemetry rules, valid values includePENDING,ACTIVE, andFAILED.
-
failureReason
The reason for a failure status in this region. This field is only populated when
Statusindicates a failure.- Returns:
- The reason for a failure status in this region. This field is only populated when
Statusindicates a failure.
-
ruleArn
The Amazon Resource Name (ARN) of the telemetry rule in this spoke region. This field is only present for telemetry rule region statuses and is populated when the rule has been successfully created in the spoke region (status is
ACTIVE).- Returns:
- The Amazon Resource Name (ARN) of the telemetry rule in this spoke region. This field is only present for
telemetry rule region statuses and is populated when the rule has been successfully created in the spoke
region (status is
ACTIVE).
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RegionStatus.Builder,RegionStatus> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-