public class UpdateDeploymentResult
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.util.Map<java.lang.String,MethodSnapshot>> |
apiSummary
Gets a summary of the RestApi at the date and time that the
deployment resource was created.
|
private java.util.Date |
createdDate
The date and time that the deployment resource was created.
|
private java.lang.String |
description
The description for the deployment resource.
|
private java.lang.String |
id
The identifier for the deployment resource.
|
Constructor and Description |
---|
UpdateDeploymentResult() |
Modifier and Type | Method and Description |
---|---|
UpdateDeploymentResult |
addApiSummaryEntry(java.lang.String key,
java.util.Map<java.lang.String,MethodSnapshot> value) |
UpdateDeploymentResult |
clearApiSummaryEntries()
Removes all the entries added into ApiSummary.
|
UpdateDeploymentResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,MethodSnapshot>> |
getApiSummary()
Gets a summary of the RestApi at the date and time that the
deployment resource was created.
|
java.util.Date |
getCreatedDate()
The date and time that the deployment resource was created.
|
java.lang.String |
getDescription()
The description for the deployment resource.
|
java.lang.String |
getId()
The identifier for the deployment resource.
|
int |
hashCode() |
void |
setApiSummary(java.util.Map<java.lang.String,java.util.Map<java.lang.String,MethodSnapshot>> apiSummary)
Gets a summary of the RestApi at the date and time that the
deployment resource was created.
|
void |
setCreatedDate(java.util.Date createdDate)
The date and time that the deployment resource was created.
|
void |
setDescription(java.lang.String description)
The description for the deployment resource.
|
void |
setId(java.lang.String id)
The identifier for the deployment resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDeploymentResult |
withApiSummary(java.util.Map<java.lang.String,java.util.Map<java.lang.String,MethodSnapshot>> apiSummary)
Gets a summary of the RestApi at the date and time that the
deployment resource was created.
|
UpdateDeploymentResult |
withCreatedDate(java.util.Date createdDate)
The date and time that the deployment resource was created.
|
UpdateDeploymentResult |
withDescription(java.lang.String description)
The description for the deployment resource.
|
UpdateDeploymentResult |
withId(java.lang.String id)
The identifier for the deployment resource.
|
private java.lang.String id
The identifier for the deployment resource.
private java.lang.String description
The description for the deployment resource.
private java.util.Date createdDate
The date and time that the deployment resource was created.
private java.util.Map<java.lang.String,java.util.Map<java.lang.String,MethodSnapshot>> apiSummary
Gets a summary of the RestApi at the date and time that the deployment resource was created.
public void setId(java.lang.String id)
The identifier for the deployment resource.
id
- The identifier for the deployment resource.public java.lang.String getId()
The identifier for the deployment resource.
public UpdateDeploymentResult withId(java.lang.String id)
The identifier for the deployment resource.
id
- The identifier for the deployment resource.public void setDescription(java.lang.String description)
The description for the deployment resource.
description
- The description for the deployment resource.public java.lang.String getDescription()
The description for the deployment resource.
public UpdateDeploymentResult withDescription(java.lang.String description)
The description for the deployment resource.
description
- The description for the deployment resource.public void setCreatedDate(java.util.Date createdDate)
The date and time that the deployment resource was created.
createdDate
- The date and time that the deployment resource was created.public java.util.Date getCreatedDate()
The date and time that the deployment resource was created.
public UpdateDeploymentResult withCreatedDate(java.util.Date createdDate)
The date and time that the deployment resource was created.
createdDate
- The date and time that the deployment resource was created.public java.util.Map<java.lang.String,java.util.Map<java.lang.String,MethodSnapshot>> getApiSummary()
Gets a summary of the RestApi at the date and time that the deployment resource was created.
public void setApiSummary(java.util.Map<java.lang.String,java.util.Map<java.lang.String,MethodSnapshot>> apiSummary)
Gets a summary of the RestApi at the date and time that the deployment resource was created.
apiSummary
- Gets a summary of the RestApi at the date and time that the
deployment resource was created.public UpdateDeploymentResult withApiSummary(java.util.Map<java.lang.String,java.util.Map<java.lang.String,MethodSnapshot>> apiSummary)
Gets a summary of the RestApi at the date and time that the deployment resource was created.
apiSummary
- Gets a summary of the RestApi at the date and time that the
deployment resource was created.public UpdateDeploymentResult addApiSummaryEntry(java.lang.String key, java.util.Map<java.lang.String,MethodSnapshot> value)
public UpdateDeploymentResult clearApiSummaryEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateDeploymentResult clone()
clone
in class java.lang.Object