Interface ListClassificationScopesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListClassificationScopesResponse.Builder,ListClassificationScopesResponse>,Macie2Response.Builder,SdkBuilder<ListClassificationScopesResponse.Builder,ListClassificationScopesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListClassificationScopesResponse
public static interface ListClassificationScopesResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListClassificationScopesResponse.Builder,ListClassificationScopesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListClassificationScopesResponse.BuilderclassificationScopes(Collection<ClassificationScopeSummary> classificationScopes)An array that specifies the unique identifier and name of the classification scope for the account.ListClassificationScopesResponse.BuilderclassificationScopes(Consumer<ClassificationScopeSummary.Builder>... classificationScopes)An array that specifies the unique identifier and name of the classification scope for the account.ListClassificationScopesResponse.BuilderclassificationScopes(ClassificationScopeSummary... classificationScopes)An array that specifies the unique identifier and name of the classification scope for the account.ListClassificationScopesResponse.BuildernextToken(String nextToken)The string to use in a subsequent request to get the next page of results in a paginated response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
classificationScopes
ListClassificationScopesResponse.Builder classificationScopes(Collection<ClassificationScopeSummary> classificationScopes)
An array that specifies the unique identifier and name of the classification scope for the account.
- Parameters:
classificationScopes- An array that specifies the unique identifier and name of the classification scope for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classificationScopes
ListClassificationScopesResponse.Builder classificationScopes(ClassificationScopeSummary... classificationScopes)
An array that specifies the unique identifier and name of the classification scope for the account.
- Parameters:
classificationScopes- An array that specifies the unique identifier and name of the classification scope for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classificationScopes
ListClassificationScopesResponse.Builder classificationScopes(Consumer<ClassificationScopeSummary.Builder>... classificationScopes)
An array that specifies the unique identifier and name of the classification scope for the account.
This is a convenience method that creates an instance of theClassificationScopeSummary.Builderavoiding the need to create one manually viaClassificationScopeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#classificationScopes(List.) - Parameters:
classificationScopes- a consumer that will call methods onClassificationScopeSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#classificationScopes(java.util.Collection)
-
nextToken
ListClassificationScopesResponse.Builder nextToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-