Interface ListConnectionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListConnectionsRequest.Builder,,ListConnectionsRequest> InterconnectRequest.Builder,SdkBuilder<ListConnectionsRequest.Builder,,ListConnectionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListConnectionsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListConnectionsRequest.BuilderattachPoint(Consumer<AttachPoint.Builder> attachPoint) Filter results to only include Connection objects attached to the given AttachPoint.attachPoint(AttachPoint attachPoint) Filter results to only include Connection objects attached to the given AttachPoint.environmentId(String environmentId) Filter the results to only include Connection objects on the given Environment.maxResults(Integer maxResults) The max number of list results in a single paginated response.A pagination token from a previous paginated response indicating you wish to get the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ListConnectionsRequest.Builderprovider(Consumer<Provider.Builder> provider) Filter the results to only include Connection objects to the given Provider.Filter the results to only include Connection objects to the given Provider.Filter the results to only include Connection objects in the given Connection$state.state(ConnectionState state) Filter the results to only include Connection objects in the given Connection$state.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.interconnect.model.InterconnectRequest.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
-
maxResults
The max number of list results in a single paginated response.
- Parameters:
maxResults- The max number of list results in a single paginated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A pagination token from a previous paginated response indicating you wish to get the next page of results.
- Parameters:
nextToken- A pagination token from a previous paginated response indicating you wish to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Filter the results to only include Connection objects in the given Connection$state.
- Parameters:
state- Filter the results to only include Connection objects in the given Connection$state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Filter the results to only include Connection objects in the given Connection$state.
- Parameters:
state- Filter the results to only include Connection objects in the given Connection$state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentId
Filter the results to only include Connection objects on the given Environment.
- Parameters:
environmentId- Filter the results to only include Connection objects on the given Environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
Filter the results to only include Connection objects to the given Provider.
- Parameters:
provider- Filter the results to only include Connection objects to the given Provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
Filter the results to only include Connection objects to the given Provider.
This is a convenience method that creates an instance of theProvider.Builderavoiding the need to create one manually viaProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovider(Provider).- Parameters:
provider- a consumer that will call methods onProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attachPoint
Filter results to only include Connection objects attached to the given AttachPoint.
- Parameters:
attachPoint- Filter results to only include Connection objects attached to the given AttachPoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachPoint
Filter results to only include Connection objects attached to the given AttachPoint.
This is a convenience method that creates an instance of theAttachPoint.Builderavoiding the need to create one manually viaAttachPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachPoint(AttachPoint).- Parameters:
attachPoint- a consumer that will call methods onAttachPoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListConnectionsRequest.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
ListConnectionsRequest.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.
-