Interface ListRulesResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListRulesResponse.Builder,,ListRulesResponse> RbinResponse.Builder,SdkBuilder<ListRulesResponse.Builder,,ListRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListRulesResponse
public static interface ListRulesResponse.Builder
extends RbinResponse.Builder, SdkPojo, CopyableBuilder<ListRulesResponse.Builder,ListRulesResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.rules(Collection<RuleSummary> rules) Information about the retention rules.rules(Consumer<RuleSummary.Builder>... rules) Information about the retention rules.rules(RuleSummary... rules) Information about the retention rules.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rbin.model.RbinResponse.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
Information about the retention rules.
- Parameters:
 rules- Information about the retention rules.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
rules
Information about the retention rules.
- Parameters:
 rules- Information about the retention rules.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
rules
Information about the retention rules.
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
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
 nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -