@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListS3ResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListS3ResourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListS3ResourcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
List<S3ResourceClassification> |
getS3Resources()
A list of the associated S3 resources returned by the action.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
void |
setS3Resources(Collection<S3ResourceClassification> s3Resources)
A list of the associated S3 resources returned by the action.
|
String |
toString()
Returns a string representation of this object.
|
ListS3ResourcesResult |
withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
ListS3ResourcesResult |
withS3Resources(Collection<S3ResourceClassification> s3Resources)
A list of the associated S3 resources returned by the action.
|
ListS3ResourcesResult |
withS3Resources(S3ResourceClassification... s3Resources)
A list of the associated S3 resources returned by the action.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<S3ResourceClassification> getS3Resources()
A list of the associated S3 resources returned by the action.
public void setS3Resources(Collection<S3ResourceClassification> s3Resources)
A list of the associated S3 resources returned by the action.
s3Resources
- A list of the associated S3 resources returned by the action.public ListS3ResourcesResult withS3Resources(S3ResourceClassification... s3Resources)
A list of the associated S3 resources returned by the action.
NOTE: This method appends the values to the existing list (if any). Use
setS3Resources(java.util.Collection)
or withS3Resources(java.util.Collection)
if you want to
override the existing values.
s3Resources
- A list of the associated S3 resources returned by the action.public ListS3ResourcesResult withS3Resources(Collection<S3ResourceClassification> s3Resources)
A list of the associated S3 resources returned by the action.
s3Resources
- A list of the associated S3 resources returned by the action.public void setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination request. If
there is no more data to be listed, this parameter is set to null.public String getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
public ListS3ResourcesResult withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination request. If
there is no more data to be listed, this parameter is set to null.public String toString()
toString
in class Object
Object.toString()
public ListS3ResourcesResult clone()
Copyright © 2021. All rights reserved.