Interface CreateAnalyzerRequest.Builder
- All Superinterfaces:
AccessAnalyzerRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAnalyzerRequest.Builder,
,CreateAnalyzerRequest> SdkBuilder<CreateAnalyzerRequest.Builder,
,CreateAnalyzerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAnalyzerRequest
-
Method Summary
Modifier and TypeMethodDescriptionanalyzerName
(String analyzerName) The name of the analyzer to create.archiveRules
(Collection<InlineArchiveRule> archiveRules) Specifies the archive rules to add for the analyzer.archiveRules
(Consumer<InlineArchiveRule.Builder>... archiveRules) Specifies the archive rules to add for the analyzer.archiveRules
(InlineArchiveRule... archiveRules) Specifies the archive rules to add for the analyzer.clientToken
(String clientToken) A client token.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to apply to the analyzer.The type of analyzer to create.The type of analyzer to create.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, sdkFields
-
Method Details
-
analyzerName
The name of the analyzer to create.
- Parameters:
analyzerName
- The name of the analyzer to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
- Parameters:
type
- The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
- Parameters:
type
- The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
archiveRules
Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
- Parameters:
archiveRules
- Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveRules
Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
- Parameters:
archiveRules
- Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveRules
Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
This is a convenience method that creates an instance of theInlineArchiveRule.Builder
avoiding the need to create one manually viaInlineArchiveRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toarchiveRules(List<InlineArchiveRule>)
.- Parameters:
archiveRules
- a consumer that will call methods onInlineArchiveRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to apply to the analyzer.
- Parameters:
tags
- The tags to apply to the analyzer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A client token.
- Parameters:
clientToken
- A client token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAnalyzerRequest.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
CreateAnalyzerRequest.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.
-