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()
|
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)
|
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; useful for testing and debugging.
|
GetApiKeysResult |
withItems(ApiKey... items)
|
GetApiKeysResult |
withItems(Collection<ApiKey> items)
|
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 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 void setItems(Collection<ApiKey> items)
public GetApiKeysResult withItems(ApiKey... items)
The current page of any ApiKey resources in the collection of ApiKey resources.
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.
public GetApiKeysResult withItems(Collection<ApiKey> items)
public String toString()
toString
in class Object
Object.toString()
public GetApiKeysResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.