public class UpdateRestApiResult extends Object implements Serializable, Cloneable
Represents a REST API.
Constructor and Description |
---|
UpdateRestApiResult() |
Modifier and Type | Method and Description |
---|---|
UpdateRestApiResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date when the API was created, in ISO 8601 format.
|
String |
getDescription()
The API's description.
|
String |
getId()
The API's identifier.
|
String |
getName()
The API's name.
|
List<String> |
getWarnings() |
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 |
setId(String id)
The API's identifier.
|
void |
setName(String name)
The API's name.
|
void |
setWarnings(Collection<String> warnings) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateRestApiResult |
withCreatedDate(Date createdDate)
The date when the API was created, in ISO 8601 format.
|
UpdateRestApiResult |
withDescription(String description)
The API's description.
|
UpdateRestApiResult |
withId(String id)
The API's identifier.
|
UpdateRestApiResult |
withName(String name)
The API's name.
|
UpdateRestApiResult |
withWarnings(Collection<String> warnings) |
UpdateRestApiResult |
withWarnings(String... warnings)
NOTE: This method appends the values to the existing list (if
any).
|
public void setId(String id)
The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
id
- The API's identifier. This identifier is unique across all of your
APIs in Amazon API Gateway.public String getId()
The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
public UpdateRestApiResult withId(String id)
The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
id
- The API's identifier. This identifier is unique across all of your
APIs in Amazon API Gateway.public void setName(String name)
The API's name.
name
- The API's name.public String getName()
The API's name.
public UpdateRestApiResult withName(String name)
The API's name.
name
- The API's name.public void setDescription(String description)
The API's description.
description
- The API's description.public String getDescription()
The API's description.
public UpdateRestApiResult withDescription(String description)
The API's description.
description
- The API's description.public void setCreatedDate(Date createdDate)
The date when the API was created, in ISO 8601 format.
createdDate
- The date when the API was created, in ISO 8601 format.public Date getCreatedDate()
The date when the API was created, in ISO 8601 format.
public UpdateRestApiResult withCreatedDate(Date createdDate)
The date when the API was created, in ISO 8601 format.
createdDate
- The date when the API was created, in ISO 8601 format.public void setWarnings(Collection<String> warnings)
warnings
- public UpdateRestApiResult withWarnings(String... warnings)
NOTE: This method appends the values to the existing list (if
any). Use setWarnings(java.util.Collection)
or
withWarnings(java.util.Collection)
if you want to override the
existing values.
warnings
- public UpdateRestApiResult withWarnings(Collection<String> warnings)
warnings
- public String toString()
toString
in class Object
Object.toString()
public UpdateRestApiResult clone()
Copyright © 2016. All rights reserved.