@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeploymentResult 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.
POST
on the Deployments resource of a
RestApi. To view, update, or delete a deployment, call GET
, PATCH
, or
DELETE
on the specified deployment resource (
/restapis/{restapi_id}/deployments/{deployment_id}
).Constructor and Description |
---|
CreateDeploymentResult() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentResult |
addApiSummaryEntry(String key,
Map<String,MethodSnapshot> value) |
CreateDeploymentResult |
clearApiSummaryEntries()
Removes all the entries added into ApiSummary.
|
CreateDeploymentResult |
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; useful for testing and debugging.
|
CreateDeploymentResult |
withApiSummary(Map<String,Map<String,MethodSnapshot>> apiSummary)
A summary of the RestApi at the date and time that the deployment resource was created.
|
CreateDeploymentResult |
withCreatedDate(Date createdDate)
The date and time that the deployment resource was created.
|
CreateDeploymentResult |
withDescription(String description)
The description for the deployment resource.
|
CreateDeploymentResult |
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 CreateDeploymentResult 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 CreateDeploymentResult 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 CreateDeploymentResult 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 CreateDeploymentResult 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 CreateDeploymentResult addApiSummaryEntry(String key, Map<String,MethodSnapshot> value)
public CreateDeploymentResult clearApiSummaryEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.