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 ofListServiceVersionsobjects to return.Because HTTP requests are stateless, this is the starting point for the next list of returnedListServiceVersionsRequestversions.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaDependentService.builder().When the
Consumercompletes,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
ListServiceVersionsobjects to return.- Parameters:
maxResults- The maximum number ofListServiceVersionsobjects 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
ListServiceVersionsRequestversions.- Parameters:
nextToken- Because HTTP requests are stateless, this is the starting point for the next list of returnedListServiceVersionsRequestversions.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-