Class ClientException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ClientException.Builder,ClientException>

@Generated("software.amazon.awssdk:codegen") public final class ClientException extends EksException implements ToCopyableBuilder<ClientException.Builder,ClientException>

These errors are usually caused by a client action. Actions can include using an action or resource on behalf of an IAM principal that doesn't have permissions to use the action or resource or specifying an identifier that is not valid.

See Also:
  • Method Details

    • toBuilder

      public ClientException.Builder toBuilder()
      Description copied from class: AwsServiceException
      Create a AwsServiceException.Builder initialized with the properties of this AwsServiceException.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ClientException.Builder,ClientException>
      Overrides:
      toBuilder in class EksException
      Returns:
      A new builder initialized with this config's properties.
    • builder

      public static ClientException.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ClientException.Builder> serializableBuilderClass()
    • clusterName

      public String clusterName()

      The Amazon EKS cluster associated with the exception.

      Returns:
      The Amazon EKS cluster associated with the exception.
    • nodegroupName

      public String nodegroupName()

      The Amazon EKS managed node group associated with the exception.

      Returns:
      The Amazon EKS managed node group associated with the exception.
    • addonName

      public String addonName()

      The Amazon EKS add-on name associated with the exception.

      Returns:
      The Amazon EKS add-on name associated with the exception.
    • subscriptionId

      public String subscriptionId()

      The Amazon EKS subscription ID with the exception.

      Returns:
      The Amazon EKS subscription ID with the exception.
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Overrides:
      sdkFields in class SdkServiceException
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.