@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDeploymentResult extends AmazonWebServiceResult<ResponseMetadata> 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.
Constructor and Description |
---|
GetDeploymentResult() |
Modifier and Type | Method and Description |
---|---|
GetDeploymentResult |
addApiSummaryEntry(String key,
Map<String,MethodSnapshot> value)
Add a single ApiSummary entry
|
GetDeploymentResult |
clearApiSummaryEntries()
Removes all the entries added into ApiSummary.
|
GetDeploymentResult |
clone() |
boolean |
equals(Object obj) |
Map<String,Map<String,MethodSnapshot>> |
getApiSummary()
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)
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.
|
GetDeploymentResult |
withApiSummary(Map<String,Map<String,MethodSnapshot>> apiSummary)
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setId(String id)
The identifier for the deployment resource.
id
- The identifier for the deployment resource.public String getId()
The identifier for the deployment resource.
public GetDeploymentResult withId(String id)
The identifier for the deployment resource.
id
- The identifier for the deployment resource.public void setDescription(String description)
The description for the deployment resource.
description
- The description for the deployment resource.public String getDescription()
The description for the deployment resource.
public GetDeploymentResult withDescription(String description)
The description for the deployment resource.
description
- The description for the deployment resource.public void setCreatedDate(Date createdDate)
The date and time that the deployment resource was created.
createdDate
- The date and time that the deployment resource was created.public Date getCreatedDate()
The date and time that the deployment resource was created.
public GetDeploymentResult withCreatedDate(Date createdDate)
The date and time that the deployment resource was created.
createdDate
- The date and time that the deployment resource was created.public Map<String,Map<String,MethodSnapshot>> getApiSummary()
A summary of the RestApi at the date and time that the deployment resource was created.
public void setApiSummary(Map<String,Map<String,MethodSnapshot>> apiSummary)
A summary of the RestApi at the date and time that the deployment resource was created.
apiSummary
- A summary of the RestApi at the date and time that the deployment resource was created.public GetDeploymentResult withApiSummary(Map<String,Map<String,MethodSnapshot>> apiSummary)
A summary of the RestApi at the date and time that the deployment resource was created.
apiSummary
- A summary of the RestApi at the date and time that the deployment resource was created.public GetDeploymentResult addApiSummaryEntry(String key, Map<String,MethodSnapshot> value)
public GetDeploymentResult clearApiSummaryEntries()
public String toString()
toString
in class Object
Object.toString()
public GetDeploymentResult clone()