@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessPreviewsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccessPreviewsResult() |
Modifier and Type | Method and Description |
---|---|
ListAccessPreviewsResult |
clone() |
boolean |
equals(Object obj) |
List<AccessPreviewSummary> |
getAccessPreviews()
A list of access previews retrieved for the analyzer.
|
String |
getNextToken()
A token used for pagination of results returned.
|
int |
hashCode() |
void |
setAccessPreviews(Collection<AccessPreviewSummary> accessPreviews)
A list of access previews retrieved for the analyzer.
|
void |
setNextToken(String nextToken)
A token used for pagination of results returned.
|
String |
toString()
Returns a string representation of this object.
|
ListAccessPreviewsResult |
withAccessPreviews(AccessPreviewSummary... accessPreviews)
A list of access previews retrieved for the analyzer.
|
ListAccessPreviewsResult |
withAccessPreviews(Collection<AccessPreviewSummary> accessPreviews)
A list of access previews retrieved for the analyzer.
|
ListAccessPreviewsResult |
withNextToken(String nextToken)
A token used for pagination of results returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AccessPreviewSummary> getAccessPreviews()
A list of access previews retrieved for the analyzer.
public void setAccessPreviews(Collection<AccessPreviewSummary> accessPreviews)
A list of access previews retrieved for the analyzer.
accessPreviews
- A list of access previews retrieved for the analyzer.public ListAccessPreviewsResult withAccessPreviews(AccessPreviewSummary... accessPreviews)
A list of access previews retrieved for the analyzer.
NOTE: This method appends the values to the existing list (if any). Use
setAccessPreviews(java.util.Collection)
or withAccessPreviews(java.util.Collection)
if you want
to override the existing values.
accessPreviews
- A list of access previews retrieved for the analyzer.public ListAccessPreviewsResult withAccessPreviews(Collection<AccessPreviewSummary> accessPreviews)
A list of access previews retrieved for the analyzer.
accessPreviews
- A list of access previews retrieved for the analyzer.public void setNextToken(String nextToken)
A token used for pagination of results returned.
nextToken
- A token used for pagination of results returned.public String getNextToken()
A token used for pagination of results returned.
public ListAccessPreviewsResult withNextToken(String nextToken)
A token used for pagination of results returned.
nextToken
- A token used for pagination of results returned.public String toString()
toString
in class Object
Object.toString()
public ListAccessPreviewsResult clone()