@Generated(value="software.amazon.awssdk:codegen") public final class InvalidRegionException extends MarketplaceMeteringException implements ToCopyableBuilder<InvalidRegionException.Builder,InvalidRegionException>
RegisterUsage must be called in the same AWS Region the ECS task was launched in. This prevents a container from hardcoding a Region (e.g. withRegion(“us-east-1”) when calling RegisterUsage.
Modifier and Type | Class and Description |
---|---|
static interface |
InvalidRegionException.Builder |
Modifier and Type | Method and Description |
---|---|
static InvalidRegionException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvalidRegionException.Builder> |
serializableBuilderClass() |
InvalidRegionException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public InvalidRegionException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<InvalidRegionException.Builder,InvalidRegionException>
toBuilder
in class MarketplaceMeteringException
public static InvalidRegionException.Builder builder()
public static Class<? extends InvalidRegionException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.