Class CreateDeploymentResult

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

public class CreateDeploymentResult extends Object implements Serializable, Cloneable

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

See Also:
  • Constructor Details

    • CreateDeploymentResult

      public CreateDeploymentResult()
  • Method Details

    • setId

      public void setId(String id)

      The identifier for the deployment resource.

      Parameters:
      id - The identifier for the deployment resource.
    • getId

      public String getId()

      The identifier for the deployment resource.

      Returns:
      The identifier for the deployment resource.
    • withId

      public CreateDeploymentResult withId(String id)

      The identifier for the deployment resource.

      Parameters:
      id - The identifier for the deployment resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      The description for the deployment resource.

      Parameters:
      description - The description for the deployment resource.
    • getDescription

      public String getDescription()

      The description for the deployment resource.

      Returns:
      The description for the deployment resource.
    • withDescription

      public CreateDeploymentResult withDescription(String description)

      The description for the deployment resource.

      Parameters:
      description - The description for the deployment resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreatedDate

      public void setCreatedDate(Date createdDate)

      The date and time that the deployment resource was created.

      Parameters:
      createdDate - The date and time that the deployment resource was created.
    • getCreatedDate

      public Date getCreatedDate()

      The date and time that the deployment resource was created.

      Returns:
      The date and time that the deployment resource was created.
    • withCreatedDate

      public CreateDeploymentResult withCreatedDate(Date createdDate)

      The date and time that the deployment resource was created.

      Parameters:
      createdDate - The date and time that the deployment resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getApiSummary

      public Map<String,Map<String,MethodSnapshot>> getApiSummary()

      Gets a summary of the RestApi at the date and time that the deployment resource was created.

      Returns:
      Gets a summary of the RestApi at the date and time that the deployment resource was created.
    • setApiSummary

      public void setApiSummary(Map<String,Map<String,MethodSnapshot>> apiSummary)

      Gets a summary of the RestApi at the date and time that the deployment resource was created.

      Parameters:
      apiSummary - Gets a summary of the RestApi at the date and time that the deployment resource was created.
    • withApiSummary

      public CreateDeploymentResult withApiSummary(Map<String,Map<String,MethodSnapshot>> apiSummary)

      Gets a summary of the RestApi at the date and time that the deployment resource was created.

      Parameters:
      apiSummary - Gets a summary of the RestApi at the date and time that the deployment resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addApiSummaryEntry

      public CreateDeploymentResult addApiSummaryEntry(String key, Map<String,MethodSnapshot> value)
    • clearApiSummaryEntries

      public CreateDeploymentResult clearApiSummaryEntries()
      Removes all the entries added into ApiSummary. <p> 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 CreateDeploymentResult clone()
      Overrides:
      clone in class Object