JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.eks.model

Class ResourceNotFoundException

  • All Implemented Interfaces:
    Serializable


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public class ResourceNotFoundException
    extends AmazonEKSException 

    The specified resource could not be found. You can view your available clusters with ListClusters. You can view your available managed node groups with ListNodegroups. Amazon EKS clusters and node groups are Amazon Web Services Region specific.

    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceNotFoundException

        public ResourceNotFoundException(String message)
        Constructs a new ResourceNotFoundException with the specified error message.
        Parameters:
        message - Describes the error encountered.
    • Method Detail

      • setClusterName

        public void setClusterName(String clusterName)

        The Amazon EKS cluster associated with the exception.

        Parameters:
        clusterName - The Amazon EKS cluster associated with the exception.
      • getClusterName

        public String getClusterName()

        The Amazon EKS cluster associated with the exception.

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

        public ResourceNotFoundException withClusterName(String clusterName)

        The Amazon EKS cluster associated with the exception.

        Parameters:
        clusterName - The Amazon EKS cluster associated with the exception.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNodegroupName

        public void setNodegroupName(String nodegroupName)

        The Amazon EKS managed node group associated with the exception.

        Parameters:
        nodegroupName - The Amazon EKS managed node group associated with the exception.
      • getNodegroupName

        public String getNodegroupName()

        The Amazon EKS managed node group associated with the exception.

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

        public ResourceNotFoundException withNodegroupName(String nodegroupName)

        The Amazon EKS managed node group associated with the exception.

        Parameters:
        nodegroupName - The Amazon EKS managed node group associated with the exception.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFargateProfileName

        public void setFargateProfileName(String fargateProfileName)

        The Fargate profile associated with the exception.

        Parameters:
        fargateProfileName - The Fargate profile associated with the exception.
      • getFargateProfileName

        public String getFargateProfileName()

        The Fargate profile associated with the exception.

        Returns:
        The Fargate profile associated with the exception.
      • withFargateProfileName

        public ResourceNotFoundException withFargateProfileName(String fargateProfileName)

        The Fargate profile associated with the exception.

        Parameters:
        fargateProfileName - The Fargate profile associated with the exception.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAddonName

        public void setAddonName(String addonName)

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

        Parameters:
        addonName - The Amazon EKS add-on name associated with the exception.
      • getAddonName

        public String getAddonName()

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

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

        public ResourceNotFoundException withAddonName(String addonName)

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

        Parameters:
        addonName - The Amazon EKS add-on name associated with the exception.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSubscriptionId

        public void setSubscriptionId(String subscriptionId)

        The Amazon EKS subscription ID with the exception.

        Parameters:
        subscriptionId - The Amazon EKS subscription ID with the exception.
      • getSubscriptionId

        public String getSubscriptionId()

        The Amazon EKS subscription ID with the exception.

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

        public ResourceNotFoundException withSubscriptionId(String subscriptionId)

        The Amazon EKS subscription ID with the exception.

        Parameters:
        subscriptionId - The Amazon EKS subscription ID with the exception.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /