Interface DescribeDirectConnectGatewaysRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeDirectConnectGatewaysRequest.Builder,,DescribeDirectConnectGatewaysRequest> DirectConnectRequest.Builder,SdkBuilder<DescribeDirectConnectGatewaysRequest.Builder,,DescribeDirectConnectGatewaysRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeDirectConnectGatewaysRequest
@Mutable
@NotThreadSafe
public static interface DescribeDirectConnectGatewaysRequest.Builder
extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<DescribeDirectConnectGatewaysRequest.Builder,DescribeDirectConnectGatewaysRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondirectConnectGatewayId(String directConnectGatewayId) The ID of the Direct Connect gateway.maxResults(Integer maxResults) The maximum number of results to return with a single call.The token provided in the previous call to retrieve the next page.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
directConnectGatewayId
The ID of the Direct Connect gateway.
- Parameters:
directConnectGatewayId- The ID of the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.If
MaxResultsis given a value larger than 100, only 100 results are returned.- Parameters:
maxResults- The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returnednextTokenvalue.If
MaxResultsis given a value larger than 100, only 100 results are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token provided in the previous call to retrieve the next page.
- Parameters:
nextToken- The token provided in the previous call to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeDirectConnectGatewaysRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeDirectConnectGatewaysRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-