@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Deployment extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
Deployment |
addApiSummaryEntry(String key,
Map<String,MethodSnapshot> value) |
Deployment |
clearApiSummaryEntries()
Removes all the entries added into ApiSummary.
|
Deployment |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
Deployment |
withApiSummary(Map<String,Map<String,MethodSnapshot>> apiSummary)
A summary of the RestApi at the date and time that the deployment resource was created.
|
Deployment |
withCreatedDate(Date createdDate)
The date and time that the deployment resource was created.
|
Deployment |
withDescription(String description)
The description for the deployment resource.
|
Deployment |
withId(String id)
The identifier for the deployment resource.
|
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 Deployment 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 Deployment 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 Deployment 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 Deployment 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 Deployment addApiSummaryEntry(String key, Map<String,MethodSnapshot> value)
public Deployment clearApiSummaryEntries()
public String toString()
toString
in class Object
Object.toString()
public Deployment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.