JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

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.codegurusecurity.model

Class AccessDeniedException

    • Constructor Detail

      • AccessDeniedException

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

      • withErrorCode

        public AccessDeniedException withErrorCode(String errorCode)

        The identifier for the error.

        Parameters:
        errorCode - The identifier for the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setResourceId

        public void setResourceId(String resourceId)

        The identifier for the resource you don't have access to.

        Parameters:
        resourceId - The identifier for the resource you don't have access to.
      • getResourceId

        public String getResourceId()

        The identifier for the resource you don't have access to.

        Returns:
        The identifier for the resource you don't have access to.
      • withResourceId

        public AccessDeniedException withResourceId(String resourceId)

        The identifier for the resource you don't have access to.

        Parameters:
        resourceId - The identifier for the resource you don't have access to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setResourceType

        public void setResourceType(String resourceType)

        The type of resource you don't have access to.

        Parameters:
        resourceType - The type of resource you don't have access to.
      • getResourceType

        public String getResourceType()

        The type of resource you don't have access to.

        Returns:
        The type of resource you don't have access to.
      • withResourceType

        public AccessDeniedException withResourceType(String resourceType)

        The type of resource you don't have access to.

        Parameters:
        resourceType - The type of resource you don't have access to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
Skip navigation links

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