Interface UpdateAnalyzerRequest.Builder
- All Superinterfaces:
AccessAnalyzerRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAnalyzerRequest.Builder,
,UpdateAnalyzerRequest> SdkBuilder<UpdateAnalyzerRequest.Builder,
,UpdateAnalyzerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAnalyzerRequest
@Mutable
@NotThreadSafe
public static interface UpdateAnalyzerRequest.Builder
extends AccessAnalyzerRequest.Builder, SdkPojo, CopyableBuilder<UpdateAnalyzerRequest.Builder,UpdateAnalyzerRequest>
-
Method Summary
Modifier and TypeMethodDescriptionanalyzerName
(String analyzerName) The name of the analyzer to modify.default UpdateAnalyzerRequest.Builder
configuration
(Consumer<AnalyzerConfiguration.Builder> configuration) Sets the value of the Configuration property for this object.configuration
(AnalyzerConfiguration configuration) Sets the value of the Configuration property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
analyzerName
The name of the analyzer to modify.
- Parameters:
analyzerName
- The name of the analyzer to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Sets the value of the Configuration property for this object.- Parameters:
configuration
- The new value for the Configuration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateAnalyzerRequest.Builder configuration(Consumer<AnalyzerConfiguration.Builder> configuration) Sets the value of the Configuration property for this object. This is a convenience method that creates an instance of theAnalyzerConfiguration.Builder
avoiding the need to create one manually viaAnalyzerConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(AnalyzerConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onAnalyzerConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAnalyzerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAnalyzerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-