Interface CreateCustomDetectionRuleOrgConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCustomDetectionRuleOrgConfigurationRequest.Builder,,CreateCustomDetectionRuleOrgConfigurationRequest> GuardDutyRequest.Builder,SdkBuilder<CreateCustomDetectionRuleOrgConfigurationRequest.Builder,,CreateCustomDetectionRuleOrgConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCustomDetectionRuleOrgConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.excludeAccountIds(String... excludeAccountIds) The account IDs to exclude from the organization configuration.excludeAccountIds(Collection<String> excludeAccountIds) The account IDs to exclude from the organization configuration.includeAccountIds(String... includeAccountIds) The account IDs to include in the organization configuration.includeAccountIds(Collection<String> includeAccountIds) The account IDs to include in the organization configuration.The execution mode of the organization configuration.mode(AssociationMode mode) The execution mode of the organization configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique identifier for the custom detection rule.Methods 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.services.guardduty.model.GuardDutyRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ruleId
The unique identifier for the custom detection rule.
- Parameters:
ruleId- The unique identifier for the custom detection rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
The execution mode of the organization configuration. Valid values:
LIVE|DRY_RUN.- Parameters:
mode- The execution mode of the organization configuration. Valid values:LIVE|DRY_RUN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The execution mode of the organization configuration. Valid values:
LIVE|DRY_RUN.- Parameters:
mode- The execution mode of the organization configuration. Valid values:LIVE|DRY_RUN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includeAccountIds
CreateCustomDetectionRuleOrgConfigurationRequest.Builder includeAccountIds(Collection<String> includeAccountIds) The account IDs to include in the organization configuration. Mutually exclusive with
ExcludeAccountIds.- Parameters:
includeAccountIds- The account IDs to include in the organization configuration. Mutually exclusive withExcludeAccountIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeAccountIds
CreateCustomDetectionRuleOrgConfigurationRequest.Builder includeAccountIds(String... includeAccountIds) The account IDs to include in the organization configuration. Mutually exclusive with
ExcludeAccountIds.- Parameters:
includeAccountIds- The account IDs to include in the organization configuration. Mutually exclusive withExcludeAccountIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeAccountIds
CreateCustomDetectionRuleOrgConfigurationRequest.Builder excludeAccountIds(Collection<String> excludeAccountIds) The account IDs to exclude from the organization configuration. Mutually exclusive with
IncludeAccountIds.- Parameters:
excludeAccountIds- The account IDs to exclude from the organization configuration. Mutually exclusive withIncludeAccountIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeAccountIds
CreateCustomDetectionRuleOrgConfigurationRequest.Builder excludeAccountIds(String... excludeAccountIds) The account IDs to exclude from the organization configuration. Mutually exclusive with
IncludeAccountIds.- Parameters:
excludeAccountIds- The account IDs to exclude from the organization configuration. Mutually exclusive withIncludeAccountIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCustomDetectionRuleOrgConfigurationRequest.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
CreateCustomDetectionRuleOrgConfigurationRequest.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.
-