@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()
For responses, this returns true if the service returned a value for the ValidZones property.
|
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()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasValidZones() method.
Copyright © 2022. All rights reserved.