Interface ListLinkRoutingRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLinkRoutingRulesResponse.Builder,,ListLinkRoutingRulesResponse> RtbFabricResponse.Builder,SdkBuilder<ListLinkRoutingRulesResponse.Builder,,ListLinkRoutingRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLinkRoutingRulesResponse
@Mutable
@NotThreadSafe
public static interface ListLinkRoutingRulesResponse.Builder
extends RtbFabricResponse.Builder, SdkPojo, CopyableBuilder<ListLinkRoutingRulesResponse.Builder,ListLinkRoutingRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIfnextTokenis returned, there are more results available.rules(Collection<LinkRoutingRuleSummary> rules) The list of routing rules for the link.rules(Consumer<LinkRoutingRuleSummary.Builder>... rules) The list of routing rules for the link.rules(LinkRoutingRuleSummary... rules) The list of routing rules for the link.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rtbfabric.model.RtbFabricResponse.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
The list of routing rules for the link.
- Parameters:
rules- The list of routing rules for the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The list of routing rules for the link.
- Parameters:
rules- The list of routing rules for the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The list of routing rules for the link.
This is a convenience method that creates an instance of theLinkRoutingRuleSummary.Builderavoiding the need to create one manually viaLinkRoutingRuleSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<LinkRoutingRuleSummary>).- Parameters:
rules- a consumer that will call methods onLinkRoutingRuleSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.- Parameters:
nextToken- IfnextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-