Interface UpdateRevealConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateRevealConfigurationResponse.Builder,
,UpdateRevealConfigurationResponse> Macie2Response.Builder
,SdkBuilder<UpdateRevealConfigurationResponse.Builder,
,UpdateRevealConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateRevealConfigurationResponse
public static interface UpdateRevealConfigurationResponse.Builder
extends Macie2Response.Builder, SdkPojo, CopyableBuilder<UpdateRevealConfigurationResponse.Builder,UpdateRevealConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Consumer<RevealConfiguration.Builder> configuration) The new configuration settings and the status of the configuration for the account.configuration
(RevealConfiguration configuration) The new configuration settings and the status of the configuration 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
-
configuration
The new configuration settings and the status of the configuration for the account.
- Parameters:
configuration
- The new configuration settings and the status of the configuration for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateRevealConfigurationResponse.Builder configuration(Consumer<RevealConfiguration.Builder> configuration) The new configuration settings and the status of the configuration for the account.
This is a convenience method that creates an instance of theRevealConfiguration.Builder
avoiding the need to create one manually viaRevealConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(RevealConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onRevealConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-