Interface ListSensitivityInspectionTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSensitivityInspectionTemplatesResponse.Builder,
,ListSensitivityInspectionTemplatesResponse> Macie2Response.Builder
,SdkBuilder<ListSensitivityInspectionTemplatesResponse.Builder,
,ListSensitivityInspectionTemplatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSensitivityInspectionTemplatesResponse
public static interface ListSensitivityInspectionTemplatesResponse.Builder
extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListSensitivityInspectionTemplatesResponse.Builder,ListSensitivityInspectionTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe string to use in a subsequent request to get the next page of results in a paginated response.sensitivityInspectionTemplates
(Collection<SensitivityInspectionTemplatesEntry> sensitivityInspectionTemplates) An array that specifies the unique identifier and name of the sensitivity inspection template for the account.sensitivityInspectionTemplates
(Consumer<SensitivityInspectionTemplatesEntry.Builder>... sensitivityInspectionTemplates) An array that specifies the unique identifier and name of the sensitivity inspection template for the account.sensitivityInspectionTemplates
(SensitivityInspectionTemplatesEntry... sensitivityInspectionTemplates) An array that specifies the unique identifier and name of the sensitivity inspection template for the account.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 Details
-
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.
-
sensitivityInspectionTemplates
ListSensitivityInspectionTemplatesResponse.Builder sensitivityInspectionTemplates(Collection<SensitivityInspectionTemplatesEntry> sensitivityInspectionTemplates) An array that specifies the unique identifier and name of the sensitivity inspection template for the account.
- Parameters:
sensitivityInspectionTemplates
- An array that specifies the unique identifier and name of the sensitivity inspection template for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitivityInspectionTemplates
ListSensitivityInspectionTemplatesResponse.Builder sensitivityInspectionTemplates(SensitivityInspectionTemplatesEntry... sensitivityInspectionTemplates) An array that specifies the unique identifier and name of the sensitivity inspection template for the account.
- Parameters:
sensitivityInspectionTemplates
- An array that specifies the unique identifier and name of the sensitivity inspection template for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitivityInspectionTemplates
ListSensitivityInspectionTemplatesResponse.Builder sensitivityInspectionTemplates(Consumer<SensitivityInspectionTemplatesEntry.Builder>... sensitivityInspectionTemplates) An array that specifies the unique identifier and name of the sensitivity inspection template for the account.
This is a convenience method that creates an instance of theSensitivityInspectionTemplatesEntry.Builder
avoiding the need to create one manually viaSensitivityInspectionTemplatesEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosensitivityInspectionTemplates(List<SensitivityInspectionTemplatesEntry>)
.- Parameters:
sensitivityInspectionTemplates
- a consumer that will call methods onSensitivityInspectionTemplatesEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-