@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessGrantsInstancesResult extends AmazonWebServiceResult<S3ControlResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccessGrantsInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListAccessGrantsInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<ListAccessGrantsInstanceEntry> |
getAccessGrantsInstancesList()
A container for a list of S3 Access Grants instances.
|
String |
getNextToken()
A pagination token to request the next page of results.
|
int |
hashCode() |
void |
setAccessGrantsInstancesList(Collection<ListAccessGrantsInstanceEntry> accessGrantsInstancesList)
A container for a list of S3 Access Grants instances.
|
void |
setNextToken(String nextToken)
A pagination token to request the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListAccessGrantsInstancesResult |
withAccessGrantsInstancesList(Collection<ListAccessGrantsInstanceEntry> accessGrantsInstancesList)
A container for a list of S3 Access Grants instances.
|
ListAccessGrantsInstancesResult |
withAccessGrantsInstancesList(ListAccessGrantsInstanceEntry... accessGrantsInstancesList)
A container for a list of S3 Access Grants instances.
|
ListAccessGrantsInstancesResult |
withNextToken(String nextToken)
A pagination token to request the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.
nextToken
- A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.public String getNextToken()
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.
List Access Grants Instances
request in order to retrieve the next page of results.public ListAccessGrantsInstancesResult withNextToken(String nextToken)
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.
nextToken
- A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.public List<ListAccessGrantsInstanceEntry> getAccessGrantsInstancesList()
A container for a list of S3 Access Grants instances.
public void setAccessGrantsInstancesList(Collection<ListAccessGrantsInstanceEntry> accessGrantsInstancesList)
A container for a list of S3 Access Grants instances.
accessGrantsInstancesList
- A container for a list of S3 Access Grants instances.public ListAccessGrantsInstancesResult withAccessGrantsInstancesList(ListAccessGrantsInstanceEntry... accessGrantsInstancesList)
A container for a list of S3 Access Grants instances.
NOTE: This method appends the values to the existing list (if any). Use
setAccessGrantsInstancesList(java.util.Collection)
or
withAccessGrantsInstancesList(java.util.Collection)
if you want to override the existing values.
accessGrantsInstancesList
- A container for a list of S3 Access Grants instances.public ListAccessGrantsInstancesResult withAccessGrantsInstancesList(Collection<ListAccessGrantsInstanceEntry> accessGrantsInstancesList)
A container for a list of S3 Access Grants instances.
accessGrantsInstancesList
- A container for a list of S3 Access Grants instances.public String toString()
toString
in class Object
Object.toString()
public ListAccessGrantsInstancesResult clone()