Interface ListCustomDetectionRuleAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCustomDetectionRuleAssociationsResponse.Builder,,ListCustomDetectionRuleAssociationsResponse> GuardDutyResponse.Builder,SdkBuilder<ListCustomDetectionRuleAssociationsResponse.Builder,,ListCustomDetectionRuleAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCustomDetectionRuleAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListCustomDetectionRuleAssociationsResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<ListCustomDetectionRuleAssociationsResponse.Builder,ListCustomDetectionRuleAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token to retrieve the next page of results.ruleAssociations(Collection<AssociationSummary> ruleAssociations) A list of custom detection rule association summaries.ruleAssociations(Consumer<AssociationSummary.Builder>... ruleAssociations) A list of custom detection rule association summaries.ruleAssociations(AssociationSummary... ruleAssociations) A list of custom detection rule association summaries.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
-
ruleAssociations
ListCustomDetectionRuleAssociationsResponse.Builder ruleAssociations(Collection<AssociationSummary> ruleAssociations) A list of custom detection rule association summaries.
- Parameters:
ruleAssociations- A list of custom detection rule association summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleAssociations
ListCustomDetectionRuleAssociationsResponse.Builder ruleAssociations(AssociationSummary... ruleAssociations) A list of custom detection rule association summaries.
- Parameters:
ruleAssociations- A list of custom detection rule association summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleAssociations
ListCustomDetectionRuleAssociationsResponse.Builder ruleAssociations(Consumer<AssociationSummary.Builder>... ruleAssociations) A list of custom detection rule association summaries.
This is a convenience method that creates an instance of theAssociationSummary.Builderavoiding the need to create one manually viaAssociationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruleAssociations(List<AssociationSummary>).- Parameters:
ruleAssociations- a consumer that will call methods onAssociationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token to retrieve the next page of results. If this field is empty, there are no additional results.
- Parameters:
nextToken- A pagination token to retrieve the next page of results. If this field is empty, there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-