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

Class ResourceAlreadyExistsException

  • All Implemented Interfaces:
    Serializable


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

    Exception indicating the specified resource already exists. If available, this exception includes details in additional properties.

    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceAlreadyExistsException

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

      • setResourceType

        public void setResourceType(String resourceType)

        The type of resource that already exists.

        Parameters:
        resourceType - The type of resource that already exists.
      • getResourceType

        public String getResourceType()

        The type of resource that already exists.

        Returns:
        The type of resource that already exists.
      • withResourceType

        public ResourceAlreadyExistsException withResourceType(String resourceType)

        The type of resource that already exists.

        Parameters:
        resourceType - The type of resource that already exists.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
Skip navigation links

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