Class GetDeploymentResult
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.GetDeploymentResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetDeploymentResult 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetDeploymentResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDeploymentResultaddApiSummaryEntry(String key, Map<String,MethodSnapshot> value)GetDeploymentResultclearApiSummaryEntries()Removes all the entries added into ApiSummary.GetDeploymentResultclone()booleanequals(Object obj)Map<String,Map<String,MethodSnapshot>>getApiSummary()Gets a summary of the RestApi at the date and time that the deployment resource was created.DategetCreatedDate()The date and time that the deployment resource was created.StringgetDescription()The description for the deployment resource.StringgetId()The identifier for the deployment resource.inthashCode()voidsetApiSummary(Map<String,Map<String,MethodSnapshot>> apiSummary)Gets a summary of the RestApi at the date and time that the deployment resource was created.voidsetCreatedDate(Date createdDate)The date and time that the deployment resource was created.voidsetDescription(String description)The description for the deployment resource.voidsetId(String id)The identifier for the deployment resource.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetDeploymentResultwithApiSummary(Map<String,Map<String,MethodSnapshot>> apiSummary)Gets a summary of the RestApi at the date and time that the deployment resource was created.GetDeploymentResultwithCreatedDate(Date createdDate)The date and time that the deployment resource was created.GetDeploymentResultwithDescription(String description)The description for the deployment resource.GetDeploymentResultwithId(String id)The identifier for the deployment resource.
-
-
-
Method Detail
-
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 GetDeploymentResult 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 GetDeploymentResult 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 GetDeploymentResult 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 GetDeploymentResult 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 GetDeploymentResult addApiSummaryEntry(String key, Map<String,MethodSnapshot> value)
-
clearApiSummaryEntries
public GetDeploymentResult 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetDeploymentResult clone()
-
-