@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.
|
boolean |
hasValidZones()
Returns true if the ValidZones property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
nodegroupName()
The Amazon EKS managed node group associated with the exception.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UnsupportedAvailabilityZoneException.Builder> |
serializableBuilderClass() |
UnsupportedAvailabilityZoneException.Builder |
toBuilder() |
List<String> |
validZones()
The supported Availability Zones for your account.
|
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic UnsupportedAvailabilityZoneException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UnsupportedAvailabilityZoneException.Builder,UnsupportedAvailabilityZoneException>toBuilder in class EksExceptionpublic static UnsupportedAvailabilityZoneException.Builder builder()
public static Class<? extends UnsupportedAvailabilityZoneException.Builder> serializableBuilderClass()
public String clusterName()
The Amazon EKS cluster associated with the exception.
public String nodegroupName()
The Amazon EKS managed node group associated with the exception.
public boolean hasValidZones()
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.
You can use hasValidZones() to see if a value was sent in this field.
Copyright © 2020. All rights reserved.