Interface PutClassificationExportConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutClassificationExportConfigurationResponse.Builder,,PutClassificationExportConfigurationResponse> Macie2Response.Builder,SdkBuilder<PutClassificationExportConfigurationResponse.Builder,,PutClassificationExportConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutClassificationExportConfigurationResponse
@Mutable
@NotThreadSafe
public static interface PutClassificationExportConfigurationResponse.Builder
extends Macie2Response.Builder, SdkPojo, CopyableBuilder<PutClassificationExportConfigurationResponse.Builder,PutClassificationExportConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(Consumer<ClassificationExportConfiguration.Builder> configuration) The location where the data classification results are stored, and the encryption settings that are used when storing results in that location.configuration(ClassificationExportConfiguration configuration) The location where the data classification results are stored, and the encryption settings that are used when storing results in that location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
configuration
PutClassificationExportConfigurationResponse.Builder configuration(ClassificationExportConfiguration configuration) The location where the data classification results are stored, and the encryption settings that are used when storing results in that location.
- Parameters:
configuration- The location where the data classification results are stored, and the encryption settings that are used when storing results in that location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default PutClassificationExportConfigurationResponse.Builder configuration(Consumer<ClassificationExportConfiguration.Builder> configuration) The location where the data classification results are stored, and the encryption settings that are used when storing results in that location.
This is a convenience method that creates an instance of theClassificationExportConfiguration.Builderavoiding the need to create one manually viaClassificationExportConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ClassificationExportConfiguration).- Parameters:
configuration- a consumer that will call methods onClassificationExportConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-