@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccessorsResult() |
Modifier and Type | Method and Description |
---|---|
ListAccessorsResult |
clone() |
boolean |
equals(Object obj) |
List<AccessorSummary> |
getAccessors()
An array of AccessorSummary objects that contain configuration properties for each accessor.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setAccessors(Collection<AccessorSummary> accessors)
An array of AccessorSummary objects that contain configuration properties for each accessor.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
ListAccessorsResult |
withAccessors(AccessorSummary... accessors)
An array of AccessorSummary objects that contain configuration properties for each accessor.
|
ListAccessorsResult |
withAccessors(Collection<AccessorSummary> accessors)
An array of AccessorSummary objects that contain configuration properties for each accessor.
|
ListAccessorsResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AccessorSummary> getAccessors()
An array of AccessorSummary objects that contain configuration properties for each accessor.
public void setAccessors(Collection<AccessorSummary> accessors)
An array of AccessorSummary objects that contain configuration properties for each accessor.
accessors
- An array of AccessorSummary objects that contain configuration properties for each accessor.public ListAccessorsResult withAccessors(AccessorSummary... accessors)
An array of AccessorSummary objects that contain configuration properties for each accessor.
NOTE: This method appends the values to the existing list (if any). Use
setAccessors(java.util.Collection)
or withAccessors(java.util.Collection)
if you want to
override the existing values.
accessors
- An array of AccessorSummary objects that contain configuration properties for each accessor.public ListAccessorsResult withAccessors(Collection<AccessorSummary> accessors)
An array of AccessorSummary objects that contain configuration properties for each accessor.
accessors
- An array of AccessorSummary objects that contain configuration properties for each accessor.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public ListAccessorsResult withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListAccessorsResult clone()