Interface ListRulesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRulesResponse.Builder,ListRulesResponse>,SdkBuilder<ListRulesResponse.Builder,ListRulesResponse>,SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
- ListRulesResponse
public static interface ListRulesResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<ListRulesResponse.Builder,ListRulesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRulesResponse.Builderitems(Collection<RuleSummary> items)Information about the rules.ListRulesResponse.Builderitems(Consumer<RuleSummary.Builder>... items)Information about the rules.ListRulesResponse.Builderitems(RuleSummary... items)Information about the rules.ListRulesResponse.BuildernextToken(String nextToken)If there are additional results, a pagination token for the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
items
ListRulesResponse.Builder items(Collection<RuleSummary> items)
Information about the rules.
- Parameters:
items- Information about the rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListRulesResponse.Builder items(RuleSummary... items)
Information about the rules.
- Parameters:
items- Information about the rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListRulesResponse.Builder items(Consumer<RuleSummary.Builder>... items)
Information about the 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 to#items(List.) - Parameters:
items- 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:
#items(java.util.Collection)
-
nextToken
ListRulesResponse.Builder nextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
- Parameters:
nextToken- If there are additional results, a pagination token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-