Class CreateRestApiResult

    • Constructor Detail

      • CreateRestApiResult

        public CreateRestApiResult()
    • Method Detail

      • setId

        public void setId​(String id)

        The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.

        Parameters:
        id - The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
      • getId

        public String getId()

        The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.

        Returns:
        The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
      • withId

        public CreateRestApiResult withId​(String id)

        The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.

        Parameters:
        id - The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName​(String name)

        The API's name.

        Parameters:
        name - The API's name.
      • getName

        public String getName()

        The API's name.

        Returns:
        The API's name.
      • withName

        public CreateRestApiResult withName​(String name)

        The API's name.

        Parameters:
        name - The API's name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        The API's description.

        Parameters:
        description - The API's description.
      • getDescription

        public String getDescription()

        The API's description.

        Returns:
        The API's description.
      • withDescription

        public CreateRestApiResult withDescription​(String description)

        The API's description.

        Parameters:
        description - The API's description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatedDate

        public void setCreatedDate​(Date createdDate)

        The date when the API was created, in ISO 8601 format.

        Parameters:
        createdDate - The date when the API was created, in ISO 8601 format.
      • withCreatedDate

        public CreateRestApiResult withCreatedDate​(Date createdDate)

        The date when the API was created, in ISO 8601 format.

        Parameters:
        createdDate - The date when the API was created, in ISO 8601 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getWarnings

        public List<String> getWarnings()
        Returns:
      • setWarnings

        public void setWarnings​(Collection<String> warnings)
        Parameters:
        warnings -
      • withWarnings

        public CreateRestApiResult withWarnings​(Collection<String> warnings)
        Parameters:
        warnings -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object