@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListControlsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListControlsResult() |
Modifier and Type | Method and Description |
---|---|
ListControlsResult |
clone() |
boolean |
equals(Object obj) |
List<ControlMetadata> |
getControlMetadataList()
The list of control metadata objects returned by the
ListControls API. |
String |
getNextToken()
The pagination token used to fetch the next set of results.
|
int |
hashCode() |
void |
setControlMetadataList(Collection<ControlMetadata> controlMetadataList)
The list of control metadata objects returned by the
ListControls API. |
void |
setNextToken(String nextToken)
The pagination token used to fetch the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListControlsResult |
withControlMetadataList(Collection<ControlMetadata> controlMetadataList)
The list of control metadata objects returned by the
ListControls API. |
ListControlsResult |
withControlMetadataList(ControlMetadata... controlMetadataList)
The list of control metadata objects returned by the
ListControls API. |
ListControlsResult |
withNextToken(String nextToken)
The pagination token used to fetch the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ControlMetadata> getControlMetadataList()
The list of control metadata objects returned by the ListControls
API.
ListControls
API.public void setControlMetadataList(Collection<ControlMetadata> controlMetadataList)
The list of control metadata objects returned by the ListControls
API.
controlMetadataList
- The list of control metadata objects returned by the ListControls
API.public ListControlsResult withControlMetadataList(ControlMetadata... controlMetadataList)
The list of control metadata objects returned by the ListControls
API.
NOTE: This method appends the values to the existing list (if any). Use
setControlMetadataList(java.util.Collection)
or withControlMetadataList(java.util.Collection)
if you want to override the existing values.
controlMetadataList
- The list of control metadata objects returned by the ListControls
API.public ListControlsResult withControlMetadataList(Collection<ControlMetadata> controlMetadataList)
The list of control metadata objects returned by the ListControls
API.
controlMetadataList
- The list of control metadata objects returned by the ListControls
API.public void setNextToken(String nextToken)
The pagination token used to fetch the next set of results.
nextToken
- The pagination token used to fetch the next set of results.public String getNextToken()
The pagination token used to fetch the next set of results.
public ListControlsResult withNextToken(String nextToken)
The pagination token used to fetch the next set of results.
nextToken
- The pagination token used to fetch the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListControlsResult clone()