Class PutRestApiResult

java.lang.Object
com.amazonaws.services.apigateway.model.PutRestApiResult
All Implemented Interfaces:
Serializable, Cloneable

public class PutRestApiResult extends Object implements Serializable, Cloneable

Represents a REST API.

See Also:
  • Constructor Details

    • PutRestApiResult

      public PutRestApiResult()
  • Method Details

    • 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 PutRestApiResult 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 PutRestApiResult 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 PutRestApiResult 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.
    • getCreatedDate

      public Date getCreatedDate()

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

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

      public PutRestApiResult 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 PutRestApiResult withWarnings(String... warnings)

      NOTE: This method appends the values to the existing list (if any). Use setWarnings(java.util.Collection) or withWarnings(java.util.Collection) if you want to override the existing values.

      Parameters:
      warnings -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withWarnings

      public PutRestApiResult 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public PutRestApiResult clone()
      Overrides:
      clone in class Object