Class GetRestApiResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a REST API.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date when the API was created, in ISO 8601 format.The API's description.getId()
The API's identifier.getName()
The API's name.int
hashCode()
void
setCreatedDate
(Date createdDate) The date when the API was created, in ISO 8601 format.void
setDescription
(String description) The API's description.void
The API's identifier.void
The API's name.void
setWarnings
(Collection<String> warnings) toString()
Returns a string representation of this object; useful for testing and debugging.withCreatedDate
(Date createdDate) The date when the API was created, in ISO 8601 format.withDescription
(String description) The API's description.The API's identifier.The API's name.withWarnings
(String... warnings) NOTE: This method appends the values to the existing list (if any).withWarnings
(Collection<String> warnings)
-
Constructor Details
-
GetRestApiResult
public GetRestApiResult()
-
-
Method Details
-
setId
The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
- Parameters:
id
- The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
-
getId
The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
- Returns:
- The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
-
withId
The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
- Parameters:
id
- The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The API's name.
- Parameters:
name
- The API's name.
-
getName
The API's name.
- Returns:
- The API's name.
-
withName
The API's name.
- Parameters:
name
- The API's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The API's description.
- Parameters:
description
- The API's description.
-
getDescription
The API's description.
- Returns:
- The API's description.
-
withDescription
The API's description.
- Parameters:
description
- The API's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedDate
The date when the API was created, in ISO 8601 format.
- Parameters:
createdDate
- The date when the API was created, in ISO 8601 format.
-
getCreatedDate
The date when the API was created, in ISO 8601 format.
- Returns:
- The date when the API was created, in ISO 8601 format.
-
withCreatedDate
The date when the API was created, in ISO 8601 format.
- Parameters:
createdDate
- The date when the API was created, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getWarnings
- Returns:
-
setWarnings
- Parameters:
warnings
-
-
withWarnings
NOTE: This method appends the values to the existing list (if any). Use
setWarnings(java.util.Collection)
orwithWarnings(java.util.Collection)
if you want to override the existing values.- Parameters:
warnings
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withWarnings
- Parameters:
warnings
-- Returns:
- 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
-