@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 that the
ListControls API returned. |
String |
getNextToken()
The pagination token that's used to fetch the next set of results.
|
int |
hashCode() |
void |
setControlMetadataList(Collection<ControlMetadata> controlMetadataList)
The list of control metadata objects that the
ListControls API returned. |
void |
setNextToken(String nextToken)
The pagination token that's 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 that the
ListControls API returned. |
ListControlsResult |
withControlMetadataList(ControlMetadata... controlMetadataList)
The list of control metadata objects that the
ListControls API returned. |
ListControlsResult |
withNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ControlMetadata> getControlMetadataList()
The list of control metadata objects that the ListControls
API returned.
ListControls
API returned.public void setControlMetadataList(Collection<ControlMetadata> controlMetadataList)
The list of control metadata objects that the ListControls
API returned.
controlMetadataList
- The list of control metadata objects that the ListControls
API returned.public ListControlsResult withControlMetadataList(ControlMetadata... controlMetadataList)
The list of control metadata objects that the ListControls
API returned.
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 that the ListControls
API returned.public ListControlsResult withControlMetadataList(Collection<ControlMetadata> controlMetadataList)
The list of control metadata objects that the ListControls
API returned.
controlMetadataList
- The list of control metadata objects that the ListControls
API returned.public void setNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
nextToken
- The pagination token that's used to fetch the next set of results.public String getNextToken()
The pagination token that's used to fetch the next set of results.
public ListControlsResult withNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
nextToken
- The pagination token that's used to fetch the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListControlsResult clone()