Interface DescribeRouteServerPeersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeRouteServerPeersRequest.Builder,DescribeRouteServerPeersRequest>,Ec2Request.Builder,SdkBuilder<DescribeRouteServerPeersRequest.Builder,DescribeRouteServerPeersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeRouteServerPeersRequest
public static interface DescribeRouteServerPeersRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeRouteServerPeersRequest.Builder,DescribeRouteServerPeersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeRouteServerPeersRequest.BuilderdryRun(Boolean dryRun)A check for whether you have the required permissions for the action without actually making the request and provides an error response.DescribeRouteServerPeersRequest.Builderfilters(Collection<Filter> filters)One or more filters to apply to the describe request.DescribeRouteServerPeersRequest.Builderfilters(Consumer<Filter.Builder>... filters)One or more filters to apply to the describe request.DescribeRouteServerPeersRequest.Builderfilters(Filter... filters)One or more filters to apply to the describe request.DescribeRouteServerPeersRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return with a single call.DescribeRouteServerPeersRequest.BuildernextToken(String nextToken)The token for the next page of results.DescribeRouteServerPeersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeRouteServerPeersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeRouteServerPeersRequest.BuilderrouteServerPeerIds(String... routeServerPeerIds)The IDs of the route server peers to describe.DescribeRouteServerPeersRequest.BuilderrouteServerPeerIds(Collection<String> routeServerPeerIds)The IDs of the route server peers to describe.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
routeServerPeerIds
DescribeRouteServerPeersRequest.Builder routeServerPeerIds(Collection<String> routeServerPeerIds)
The IDs of the route server peers to describe.
- Parameters:
routeServerPeerIds- The IDs of the route server peers to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeServerPeerIds
DescribeRouteServerPeersRequest.Builder routeServerPeerIds(String... routeServerPeerIds)
The IDs of the route server peers to describe.
- Parameters:
routeServerPeerIds- The IDs of the route server peers to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeRouteServerPeersRequest.Builder nextToken(String nextToken)
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
DescribeRouteServerPeersRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return with a single call.
- Parameters:
maxResults- The maximum number of results to return with a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeRouteServerPeersRequest.Builder filters(Collection<Filter> filters)
One or more filters to apply to the describe request.
- Parameters:
filters- One or more filters to apply to the describe request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeRouteServerPeersRequest.Builder filters(Filter... filters)
One or more filters to apply to the describe request.
- Parameters:
filters- One or more filters to apply to the describe request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeRouteServerPeersRequest.Builder filters(Consumer<Filter.Builder>... filters)
One or more filters to apply to the describe request.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
dryRun
DescribeRouteServerPeersRequest.Builder dryRun(Boolean dryRun)
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeRouteServerPeersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeRouteServerPeersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-