Interface ListServiceVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListServiceVersionsResponse.Builder,
,ListServiceVersionsResponse> SdkBuilder<ListServiceVersionsResponse.Builder,
,ListServiceVersionsResponse> SdkPojo
,SdkResponse.Builder
,SnowballResponse.Builder
- Enclosing class:
ListServiceVersionsResponse
-
Method Summary
Modifier and TypeMethodDescriptiondependentServices
(Collection<DependentService> dependentServices) A list of names and versions of dependant services of the service for which the system provided supported versions.dependentServices
(Consumer<DependentService.Builder>... dependentServices) A list of names and versions of dependant services of the service for which the system provided supported versions.dependentServices
(DependentService... dependentServices) A list of names and versions of dependant services of the service for which the system provided supported versions.Because HTTP requests are stateless, this is the starting point of the next list of returnedListServiceVersionsResult
results.serviceName
(String serviceName) The name of the service for which the system provided supported versions.serviceName
(ServiceName serviceName) The name of the service for which the system provided supported versions.serviceVersions
(Collection<ServiceVersion> serviceVersions) A list of supported versions.serviceVersions
(Consumer<ServiceVersion.Builder>... serviceVersions) A list of supported versions.serviceVersions
(ServiceVersion... serviceVersions) A list of supported versions.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
serviceVersions
A list of supported versions.
- Parameters:
serviceVersions
- A list of supported versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceVersions
A list of supported versions.
- Parameters:
serviceVersions
- A list of supported versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceVersions
ListServiceVersionsResponse.Builder serviceVersions(Consumer<ServiceVersion.Builder>... serviceVersions) A list of supported versions.
This is a convenience method that creates an instance of theServiceVersion.Builder
avoiding the need to create one manually viaServiceVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceVersions(List<ServiceVersion>)
.- Parameters:
serviceVersions
- a consumer that will call methods onServiceVersion.Builder
- 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 the system provided supported versions.
- Parameters:
serviceName
- The name of the service for which the system provided 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 the system provided supported versions.
- Parameters:
serviceName
- The name of the service for which the system provided supported versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dependentServices
ListServiceVersionsResponse.Builder dependentServices(Collection<DependentService> dependentServices) A list of names and versions of dependant services of the service for which the system provided supported versions.
- Parameters:
dependentServices
- A list of names and versions of dependant services of the service for which the system provided supported versions.- 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 service for which the system provided supported versions.
- Parameters:
dependentServices
- A list of names and versions of dependant services of the service for which the system provided supported versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependentServices
ListServiceVersionsResponse.Builder dependentServices(Consumer<DependentService.Builder>... dependentServices) A list of names and versions of dependant services of the service for which the system provided supported versions.
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:
-
nextToken
Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResult
results.- Parameters:
nextToken
- Because HTTP requests are stateless, this is the starting point of the next list of returnedListServiceVersionsResult
results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-