@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetApiKeysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents a collection of API keys as represented by an ApiKeys resource.
| Constructor and Description |
|---|
GetApiKeysResult () |
| Modifier and Type | Method and Description |
|---|---|
GetApiKeysResult |
clone () |
boolean |
equals (Object obj) |
List<ApiKey> |
getItems ()
The current page of elements from this collection.
|
String |
getPosition () |
List<String> |
getWarnings ()
A list of warning messages logged during the import of API keys when the
failOnWarnings option is
set to true. |
int |
hashCode () |
void |
setItems (Collection<ApiKey> items)
The current page of elements from this collection.
|
void |
setPosition (String position) |
void |
setWarnings (Collection<String> warnings)
A list of warning messages logged during the import of API keys when the
failOnWarnings option is
set to true. |
String |
toString ()
Returns a string representation of this object.
|
GetApiKeysResult |
withItems (ApiKey... items)
The current page of elements from this collection.
|
GetApiKeysResult |
withItems (Collection<ApiKey> items)
The current page of elements from this collection.
|
GetApiKeysResult |
withPosition (String position) |
GetApiKeysResult |
withWarnings (Collection<String> warnings)
A list of warning messages logged during the import of API keys when the
failOnWarnings option is
set to true. |
GetApiKeysResult |
withWarnings (String... warnings)
A list of warning messages logged during the import of API keys when the
failOnWarnings option is
set to true. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public GetApiKeysResult()
public List<String> getWarnings()
A list of warning messages logged during the import of API keys when the failOnWarnings option is
set to true.
failOnWarnings
option is set to true.public void setWarnings(Collection<String> warnings)
A list of warning messages logged during the import of API keys when the failOnWarnings option is
set to true.
warnings - A list of warning messages logged during the import of API keys when the failOnWarnings
option is set to true.public GetApiKeysResult withWarnings(String... warnings)
A list of warning messages logged during the import of API keys when the failOnWarnings option is
set to true.
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 - A list of warning messages logged during the import of API keys when the failOnWarnings
option is set to true.public GetApiKeysResult withWarnings(Collection<String> warnings)
A list of warning messages logged during the import of API keys when the failOnWarnings option is
set to true.
warnings - A list of warning messages logged during the import of API keys when the failOnWarnings
option is set to true.public void setPosition(String position)
position - public String getPosition()
public GetApiKeysResult withPosition(String position)
position - public List<ApiKey> getItems()
The current page of elements from this collection.
public void setItems(Collection<ApiKey> items)
The current page of elements from this collection.
items - The current page of elements from this collection.public GetApiKeysResult withItems(ApiKey... items)
The current page of elements from this collection.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - The current page of elements from this collection.public GetApiKeysResult withItems(Collection<ApiKey> items)
The current page of elements from this collection.
items - The current page of elements from this collection.public String toString()
toString in class Object Object.toString() public GetApiKeysResult clone()