@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListClassificationScopesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListClassificationScopesResult() |
Modifier and Type | Method and Description |
---|---|
ListClassificationScopesResult |
clone() |
boolean |
equals(Object obj) |
List<ClassificationScopeSummary> |
getClassificationScopes()
An array that specifies the unique identifier and name of the classification scope for the account.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
setClassificationScopes(Collection<ClassificationScopeSummary> classificationScopes)
An array that specifies the unique identifier and name of the classification scope for the account.
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
ListClassificationScopesResult |
withClassificationScopes(ClassificationScopeSummary... classificationScopes)
An array that specifies the unique identifier and name of the classification scope for the account.
|
ListClassificationScopesResult |
withClassificationScopes(Collection<ClassificationScopeSummary> classificationScopes)
An array that specifies the unique identifier and name of the classification scope for the account.
|
ListClassificationScopesResult |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ClassificationScopeSummary> getClassificationScopes()
An array that specifies the unique identifier and name of the classification scope for the account.
public void setClassificationScopes(Collection<ClassificationScopeSummary> classificationScopes)
An array that specifies the unique identifier and name of the classification scope for the account.
classificationScopes
- An array that specifies the unique identifier and name of the classification scope for the account.public ListClassificationScopesResult withClassificationScopes(ClassificationScopeSummary... classificationScopes)
An array that specifies the unique identifier and name of the classification scope for the account.
NOTE: This method appends the values to the existing list (if any). Use
setClassificationScopes(java.util.Collection)
or withClassificationScopes(java.util.Collection)
if you want to override the existing values.
classificationScopes
- An array that specifies the unique identifier and name of the classification scope for the account.public ListClassificationScopesResult withClassificationScopes(Collection<ClassificationScopeSummary> classificationScopes)
An array that specifies the unique identifier and name of the classification scope for the account.
classificationScopes
- An array that specifies the unique identifier and name of the classification scope for the account.public void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public ListClassificationScopesResult withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public ListClassificationScopesResult clone()