Interface DescribeRouteServersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeRouteServersRequest.Builder,DescribeRouteServersRequest>,Ec2Request.Builder,SdkBuilder<DescribeRouteServersRequest.Builder,DescribeRouteServersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeRouteServersRequest
@Mutable @NotThreadSafe public static interface DescribeRouteServersRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeRouteServersRequest.Builder,DescribeRouteServersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeRouteServersRequest.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.DescribeRouteServersRequest.Builderfilters(Collection<Filter> filters)One or more filters to apply to the describe request.DescribeRouteServersRequest.Builderfilters(Consumer<Filter.Builder>... filters)One or more filters to apply to the describe request.DescribeRouteServersRequest.Builderfilters(Filter... filters)One or more filters to apply to the describe request.DescribeRouteServersRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return with a single call.DescribeRouteServersRequest.BuildernextToken(String nextToken)The token for the next page of results.DescribeRouteServersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeRouteServersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeRouteServersRequest.BuilderrouteServerIds(String... routeServerIds)The IDs of the route servers to describe.DescribeRouteServersRequest.BuilderrouteServerIds(Collection<String> routeServerIds)The IDs of the route servers 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
-
routeServerIds
DescribeRouteServersRequest.Builder routeServerIds(Collection<String> routeServerIds)
The IDs of the route servers to describe.
- Parameters:
routeServerIds- The IDs of the route servers to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeServerIds
DescribeRouteServersRequest.Builder routeServerIds(String... routeServerIds)
The IDs of the route servers to describe.
- Parameters:
routeServerIds- The IDs of the route servers to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeRouteServersRequest.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
DescribeRouteServersRequest.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
DescribeRouteServersRequest.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
DescribeRouteServersRequest.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
DescribeRouteServersRequest.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
DescribeRouteServersRequest.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
DescribeRouteServersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeRouteServersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-