Interface ListServiceVersionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListServiceVersionsRequest.Builder,
,ListServiceVersionsRequest> SdkBuilder<ListServiceVersionsRequest.Builder,
,ListServiceVersionsRequest> SdkPojo
,SdkRequest.Builder
,SnowballRequest.Builder
- Enclosing class:
ListServiceVersionsRequest
public static interface ListServiceVersionsRequest.Builder
extends SnowballRequest.Builder, SdkPojo, CopyableBuilder<ListServiceVersionsRequest.Builder,ListServiceVersionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondependentServices
(Collection<DependentService> dependentServices) A list of names and versions of dependant services of the requested service.dependentServices
(Consumer<DependentService.Builder>... dependentServices) A list of names and versions of dependant services of the requested service.dependentServices
(DependentService... dependentServices) A list of names and versions of dependant services of the requested service.maxResults
(Integer maxResults) The maximum number ofListServiceVersions
objects to return.Because HTTP requests are stateless, this is the starting point for the next list of returnedListServiceVersionsRequest
versions.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceName
(String serviceName) The name of the service for which you're requesting supported versions.serviceName
(ServiceName serviceName) The name of the service for which you're requesting supported versions.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballRequest.Builder
build
-
Method Details
-
serviceName
The name of the service for which you're requesting supported versions.
- Parameters:
serviceName
- The name of the service for which you're requesting supported versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceName
The name of the service for which you're requesting supported versions.
- Parameters:
serviceName
- The name of the service for which you're requesting supported versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dependentServices
ListServiceVersionsRequest.Builder dependentServices(Collection<DependentService> dependentServices) A list of names and versions of dependant services of the requested service.
- Parameters:
dependentServices
- A list of names and versions of dependant services of the requested service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependentServices
A list of names and versions of dependant services of the requested service.
- Parameters:
dependentServices
- A list of names and versions of dependant services of the requested service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependentServices
ListServiceVersionsRequest.Builder dependentServices(Consumer<DependentService.Builder>... dependentServices) A list of names and versions of dependant services of the requested service.
This is a convenience method that creates an instance of theDependentService.Builder
avoiding the need to create one manually viaDependentService.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todependentServices(List<DependentService>)
.- Parameters:
dependentServices
- a consumer that will call methods onDependentService.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of
ListServiceVersions
objects to return.- Parameters:
maxResults
- The maximum number ofListServiceVersions
objects to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Because HTTP requests are stateless, this is the starting point for the next list of returned
ListServiceVersionsRequest
versions.- Parameters:
nextToken
- Because HTTP requests are stateless, this is the starting point for the next list of returnedListServiceVersionsRequest
versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListServiceVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListServiceVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-