Interface ListCustomDetectionRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCustomDetectionRulesResponse.Builder,,ListCustomDetectionRulesResponse> GuardDutyResponse.Builder,SdkBuilder<ListCustomDetectionRulesResponse.Builder,,ListCustomDetectionRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCustomDetectionRulesResponse
@Mutable
@NotThreadSafe
public static interface ListCustomDetectionRulesResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<ListCustomDetectionRulesResponse.Builder,ListCustomDetectionRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token to retrieve the next page of results.rules(Collection<RuleSummary> rules) A list of custom detection rule summaries.rules(Consumer<RuleSummary.Builder>... rules) A list of custom detection rule summaries.rules(RuleSummary... rules) A list of custom detection rule 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
-
rules
A list of custom detection rule summaries.
- Parameters:
rules- A list of custom detection rule summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
A list of custom detection rule summaries.
- Parameters:
rules- A list of custom detection rule summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
A list of custom detection rule summaries.
This is a convenience method that creates an instance of theRuleSummary.Builderavoiding the need to create one manually viaRuleSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<RuleSummary>).- Parameters:
rules- a consumer that will call methods onRuleSummary.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.
-