@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListApplicationGrantsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListApplicationGrantsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListApplicationGrantsResult |
clone() |
boolean |
equals(Object obj) |
List<GrantItem> |
getGrants()
An array list of structures that describe the requested grants.
|
String |
getNextToken()
If present, this value indicates that more output is available than is included in the current response.
|
int |
hashCode() |
void |
setGrants(Collection<GrantItem> grants)
An array list of structures that describe the requested grants.
|
void |
setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
String |
toString()
Returns a string representation of this object.
|
ListApplicationGrantsResult |
withGrants(Collection<GrantItem> grants)
An array list of structures that describe the requested grants.
|
ListApplicationGrantsResult |
withGrants(GrantItem... grants)
An array list of structures that describe the requested grants.
|
ListApplicationGrantsResult |
withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<GrantItem> getGrants()
An array list of structures that describe the requested grants.
public void setGrants(Collection<GrantItem> grants)
An array list of structures that describe the requested grants.
grants - An array list of structures that describe the requested grants.public ListApplicationGrantsResult withGrants(GrantItem... grants)
An array list of structures that describe the requested grants.
NOTE: This method appends the values to the existing list (if any). Use
setGrants(java.util.Collection) or withGrants(java.util.Collection) if you want to override the
existing values.
grants - An array list of structures that describe the requested grants.public ListApplicationGrantsResult withGrants(Collection<GrantItem> grants)
An array list of structures that describe the requested grants.
grants - An array list of structures that describe the requested grants.public void setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken response element comes back as
null. This indicates that this is the last page of results.
nextToken - If present, this value indicates that more output is available than is included in the current response.
Use this value in the NextToken request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken response element
comes back as null. This indicates that this is the last page of results.public String getNextToken()
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken response element comes back as
null. This indicates that this is the last page of results.
NextToken request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken response element
comes back as null. This indicates that this is the last page of results.public ListApplicationGrantsResult withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken response element comes back as
null. This indicates that this is the last page of results.
nextToken - If present, this value indicates that more output is available than is included in the current response.
Use this value in the NextToken request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken response element
comes back as null. This indicates that this is the last page of results.public String toString()
toString in class ObjectObject.toString()public ListApplicationGrantsResult clone()
Copyright © 2025. All rights reserved.