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
Modifier and TypeMethodDescriptionitems
(Collection<RuleSummary> items) Information about the rules.items
(Consumer<RuleSummary.Builder>... items) Information about the rules.items
(RuleSummary... items) Information about the rules.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 Details
-
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
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
Information about the rules.
This is a convenience method that creates an instance of theRuleSummary.Builder
avoiding the need to create one manually viaRuleSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<RuleSummary>)
.- 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:
-
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.
-