Interface CreateServiceLinkedAnalyzerRequest.Builder
- All Superinterfaces:
AccessAnalyzerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateServiceLinkedAnalyzerRequest.Builder,,CreateServiceLinkedAnalyzerRequest> SdkBuilder<CreateServiceLinkedAnalyzerRequest.Builder,,CreateServiceLinkedAnalyzerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateServiceLinkedAnalyzerRequest
-
Method Summary
Modifier and TypeMethodDescriptionarchiveRules(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.configuration(Consumer<AnalyzerConfiguration.Builder> configuration) Specifies the configuration of the analyzer.configuration(AnalyzerConfiguration configuration) Specifies the configuration of the analyzer.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The type of analyzer to create.The type of analyzer to create.Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of analyzer to create. Valid values are
ACCOUNT_UNUSED_ACCESSandORGANIZATION_UNUSED_ACCESS.- Parameters:
type- The type of analyzer to create. Valid values areACCOUNT_UNUSED_ACCESSandORGANIZATION_UNUSED_ACCESS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of analyzer to create. Valid values are
ACCOUNT_UNUSED_ACCESSandORGANIZATION_UNUSED_ACCESS.- Parameters:
type- The type of analyzer to create. Valid values areACCOUNT_UNUSED_ACCESSandORGANIZATION_UNUSED_ACCESS.- 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
CreateServiceLinkedAnalyzerRequest.Builder archiveRules(Consumer<InlineArchiveRule.Builder>... 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.Builderavoiding the need to create one manually viaInlineArchiveRule.builder().When the
Consumercompletes,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:
-
clientToken
A client token.
- Parameters:
clientToken- A client token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Specifies the configuration of the analyzer. The specified scope of unused access is used for the configuration.
- Parameters:
configuration- Specifies the configuration of the analyzer. The specified scope of unused access is used for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateServiceLinkedAnalyzerRequest.Builder configuration(Consumer<AnalyzerConfiguration.Builder> configuration) Specifies the configuration of the analyzer. The specified scope of unused access is used for the configuration.
This is a convenience method that creates an instance of theAnalyzerConfiguration.Builderavoiding the need to create one manually viaAnalyzerConfiguration.builder().When the
Consumercompletes,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
CreateServiceLinkedAnalyzerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateServiceLinkedAnalyzerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-