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 GetDeploymentResult
addApiSummaryEntry(String key, Map<String,MethodSnapshot> value)
GetDeploymentResult
clearApiSummaryEntries()
Removes all the entries added into ApiSummary.GetDeploymentResult
clone()
boolean
equals(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.Date
getCreatedDate()
The date and time that the deployment resource was created.String
getDescription()
The description for the deployment resource.String
getId()
The identifier for the deployment resource.int
hashCode()
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.void
setCreatedDate(Date createdDate)
The date and time that the deployment resource was created.void
setDescription(String description)
The description for the deployment resource.void
setId(String id)
The identifier for the deployment resource.String
toString()
Returns a string representation of this object; useful for testing and debugging.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.GetDeploymentResult
withCreatedDate(Date createdDate)
The date and time that the deployment resource was created.GetDeploymentResult
withDescription(String description)
The description for the deployment resource.GetDeploymentResult
withId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetDeploymentResult clone()
-
-