@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListConfigsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListConfigsResult() |
Modifier and Type | Method and Description |
---|---|
ListConfigsResult |
clone() |
boolean |
equals(Object obj) |
List<ConfigListItem> |
getConfigList()
List of
Config items. |
String |
getNextToken()
Next token returned in the response of a previous
ListConfigs call. |
int |
hashCode() |
void |
setConfigList(Collection<ConfigListItem> configList)
List of
Config items. |
void |
setNextToken(String nextToken)
Next token returned in the response of a previous
ListConfigs call. |
String |
toString()
Returns a string representation of this object.
|
ListConfigsResult |
withConfigList(Collection<ConfigListItem> configList)
List of
Config items. |
ListConfigsResult |
withConfigList(ConfigListItem... configList)
List of
Config items. |
ListConfigsResult |
withNextToken(String nextToken)
Next token returned in the response of a previous
ListConfigs call. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ConfigListItem> getConfigList()
List of Config
items.
Config
items.public void setConfigList(Collection<ConfigListItem> configList)
List of Config
items.
configList
- List of Config
items.public ListConfigsResult withConfigList(ConfigListItem... configList)
List of Config
items.
NOTE: This method appends the values to the existing list (if any). Use
setConfigList(java.util.Collection)
or withConfigList(java.util.Collection)
if you want to
override the existing values.
configList
- List of Config
items.public ListConfigsResult withConfigList(Collection<ConfigListItem> configList)
List of Config
items.
configList
- List of Config
items.public void setNextToken(String nextToken)
Next token returned in the response of a previous ListConfigs
call. Used to get the next page of
results.
nextToken
- Next token returned in the response of a previous ListConfigs
call. Used to get the next page
of results.public String getNextToken()
Next token returned in the response of a previous ListConfigs
call. Used to get the next page of
results.
ListConfigs
call. Used to get the next
page of results.public ListConfigsResult withNextToken(String nextToken)
Next token returned in the response of a previous ListConfigs
call. Used to get the next page of
results.
nextToken
- Next token returned in the response of a previous ListConfigs
call. Used to get the next page
of results.public String toString()
toString
in class Object
Object.toString()
public ListConfigsResult clone()