@Generated(value="software.amazon.awssdk:codegen") public final class UnsupportedAvailabilityZoneException extends EksException implements ToCopyableBuilder<UnsupportedAvailabilityZoneException.Builder,UnsupportedAvailabilityZoneException>
At least one of your specified cluster subnets is in an Availability Zone that does not support Amazon EKS. The exception output specifies the supported Availability Zones for your account, from which you can choose subnets for your cluster.
Modifier and Type | Class and Description |
---|---|
static interface |
UnsupportedAvailabilityZoneException.Builder |
Modifier and Type | Method and Description |
---|---|
static UnsupportedAvailabilityZoneException.Builder |
builder() |
String |
clusterName()
The Amazon EKS cluster associated with the exception.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UnsupportedAvailabilityZoneException.Builder> |
serializableBuilderClass() |
UnsupportedAvailabilityZoneException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
List<String> |
validZones()
The supported Availability Zones for your account.
|
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 UnsupportedAvailabilityZoneException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<UnsupportedAvailabilityZoneException.Builder,UnsupportedAvailabilityZoneException>
toBuilder
in class EksException
public static UnsupportedAvailabilityZoneException.Builder builder()
public static Class<? extends UnsupportedAvailabilityZoneException.Builder> serializableBuilderClass()
public String clusterName()
The Amazon EKS cluster associated with the exception.
public List<String> validZones()
The supported Availability Zones for your account. Choose subnets in these Availability Zones for your cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.