Class GetDeploymentResult
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddApiSummaryEntry
(String key, Map<String, MethodSnapshot> value) Removes all the entries added into ApiSummary.clone()
boolean
Gets a summary of the RestApi at the date and time that the deployment resource was created.The date and time that the deployment resource was created.The description for the deployment resource.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
The identifier for the deployment resource.toString()
Returns a string representation of this object; useful for testing and debugging.withApiSummary
(Map<String, Map<String, MethodSnapshot>> apiSummary) Gets a summary of the RestApi at the date and time that the deployment resource was created.withCreatedDate
(Date createdDate) The date and time that the deployment resource was created.withDescription
(String description) The description for the deployment resource.The identifier for the deployment resource.
-
Constructor Details
-
GetDeploymentResult
public GetDeploymentResult()
-
-
Method Details
-
setId
The identifier for the deployment resource.
- Parameters:
id
- The identifier for the deployment resource.
-
getId
The identifier for the deployment resource.
- Returns:
- The identifier for the deployment resource.
-
withId
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
The description for the deployment resource.
- Parameters:
description
- The description for the deployment resource.
-
getDescription
The description for the deployment resource.
- Returns:
- The description for the deployment resource.
-
withDescription
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
The date and time that the deployment resource was created.
- Parameters:
createdDate
- The date and time that the deployment resource was created.
-
getCreatedDate
The date and time that the deployment resource was created.
- Returns:
- The date and time that the deployment resource was created.
-
withCreatedDate
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
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
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
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
-
clearApiSummaryEntries
Removes all the entries added into ApiSummary. <p> Returns a reference to this object so that method calls can be chained together. -
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-