Interface GetCustomDetectionRuleAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCustomDetectionRuleAssociationResponse.Builder,,GetCustomDetectionRuleAssociationResponse> GuardDutyResponse.Builder,SdkBuilder<GetCustomDetectionRuleAssociationResponse.Builder,,GetCustomDetectionRuleAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCustomDetectionRuleAssociationResponse
@Mutable
@NotThreadSafe
public static interface GetCustomDetectionRuleAssociationResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<GetCustomDetectionRuleAssociationResponse.Builder,GetCustomDetectionRuleAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionruleAssociation(Consumer<AssociationDetail.Builder> ruleAssociation) The details of the custom detection rule association.ruleAssociation(AssociationDetail ruleAssociation) The details of the custom detection rule association.The tags associated with the custom detection rule association resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ruleAssociation
GetCustomDetectionRuleAssociationResponse.Builder ruleAssociation(AssociationDetail ruleAssociation) The details of the custom detection rule association.
- Parameters:
ruleAssociation- The details of the custom detection rule association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleAssociation
default GetCustomDetectionRuleAssociationResponse.Builder ruleAssociation(Consumer<AssociationDetail.Builder> ruleAssociation) The details of the custom detection rule association.
This is a convenience method that creates an instance of theAssociationDetail.Builderavoiding the need to create one manually viaAssociationDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruleAssociation(AssociationDetail).- Parameters:
ruleAssociation- a consumer that will call methods onAssociationDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags associated with the custom detection rule association resource.
- Parameters:
tags- The tags associated with the custom detection rule association resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-