Interface RegionStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RegionStatus.Builder,,RegionStatus> SdkBuilder<RegionStatus.Builder,,RegionStatus> SdkPojo
- Enclosing class:
RegionStatus
@Mutable
@NotThreadSafe
public static interface RegionStatus.Builder
extends SdkPojo, CopyableBuilder<RegionStatus.Builder,RegionStatus>
-
Method Summary
Modifier and TypeMethodDescriptionfailureReason(String failureReason) The reason for a failure status in this region.The Amazon Web Services Region code (for example,eu-west-1orus-west-2) that this status applies to.The Amazon Resource Name (ARN) of the telemetry rule in this spoke region.The status of the operation in this region.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
region
The Amazon Web Services Region code (for example,
eu-west-1orus-west-2) that this status applies to.- Parameters:
region- The Amazon Web Services Region code (for example,eu-west-1orus-west-2) that this status applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
status- The status of the operation in this region. For telemetry evaluation, valid values includeSTARTING,RUNNING, andFAILED_START. For telemetry rules, valid values includePENDING,ACTIVE, andFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The reason for a failure status in this region. This field is only populated when
Statusindicates a failure.- Parameters:
failureReason- The reason for a failure status in this region. This field is only populated whenStatusindicates a failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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).- Parameters:
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 isACTIVE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-