Interface CreateCustomDetectionRuleAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCustomDetectionRuleAssociationRequest.Builder,,CreateCustomDetectionRuleAssociationRequest> GuardDutyRequest.Builder,SdkBuilder<CreateCustomDetectionRuleAssociationRequest.Builder,,CreateCustomDetectionRuleAssociationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCustomDetectionRuleAssociationRequest
@Mutable
@NotThreadSafe
public static interface CreateCustomDetectionRuleAssociationRequest.Builder
extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<CreateCustomDetectionRuleAssociationRequest.Builder,CreateCustomDetectionRuleAssociationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.The rule execution mode.mode(AssociationMode mode) The rule execution mode.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.The tags to be added to the new custom detection rule association resource.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 rule execution mode. Valid values:
LIVE|DRY_RUN.- Parameters:
mode- The rule execution mode. Valid values:LIVE|DRY_RUN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The rule execution mode. Valid values:
LIVE|DRY_RUN.- Parameters:
mode- The rule execution mode. Valid values:LIVE|DRY_RUN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. Maximum 64 characters.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. Maximum 64 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be added to the new custom detection rule association resource.
- Parameters:
tags- The tags to be added to the new custom detection rule association resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCustomDetectionRuleAssociationRequest.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
CreateCustomDetectionRuleAssociationRequest.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.
-