Interface ErrorDetail.Builder

    • Method Detail

      • errorCode

        ErrorDetail.Builder errorCode​(String errorCode)

        A brief description of the error.

        • SubnetNotFound: We couldn't find one of the subnets associated with the cluster.

        • SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.

        • EniLimitReached: You have reached the elastic network interface limit for your account.

        • IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.

        • AccessDenied: You don't have permissions to perform the specified operation.

        • OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.

        • VpcIdNotFound: We couldn't find the VPC associated with the cluster.

        Parameters:
        errorCode - A brief description of the error.

        • SubnetNotFound: We couldn't find one of the subnets associated with the cluster.

        • SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.

        • EniLimitReached: You have reached the elastic network interface limit for your account.

        • IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.

        • AccessDenied: You don't have permissions to perform the specified operation.

        • OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.

        • VpcIdNotFound: We couldn't find the VPC associated with the cluster.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ErrorCode, ErrorCode
      • errorCode

        ErrorDetail.Builder errorCode​(ErrorCode errorCode)

        A brief description of the error.

        • SubnetNotFound: We couldn't find one of the subnets associated with the cluster.

        • SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.

        • EniLimitReached: You have reached the elastic network interface limit for your account.

        • IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.

        • AccessDenied: You don't have permissions to perform the specified operation.

        • OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.

        • VpcIdNotFound: We couldn't find the VPC associated with the cluster.

        Parameters:
        errorCode - A brief description of the error.

        • SubnetNotFound: We couldn't find one of the subnets associated with the cluster.

        • SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.

        • EniLimitReached: You have reached the elastic network interface limit for your account.

        • IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.

        • AccessDenied: You don't have permissions to perform the specified operation.

        • OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.

        • VpcIdNotFound: We couldn't find the VPC associated with the cluster.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ErrorCode, ErrorCode
      • errorMessage

        ErrorDetail.Builder errorMessage​(String errorMessage)

        A more complete description of the error.

        Parameters:
        errorMessage - A more complete description of the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceIds

        ErrorDetail.Builder resourceIds​(Collection<String> resourceIds)

        An optional field that contains the resource IDs associated with the error.

        Parameters:
        resourceIds - An optional field that contains the resource IDs associated with the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceIds

        ErrorDetail.Builder resourceIds​(String... resourceIds)

        An optional field that contains the resource IDs associated with the error.

        Parameters:
        resourceIds - An optional field that contains the resource IDs associated with the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.