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 returnedListServiceVersionsResultresults.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
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaServiceVersion.builder().When the
Consumercompletes,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.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:
-
nextToken
Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResultresults.- Parameters:
nextToken- Because HTTP requests are stateless, this is the starting point of the next list of returnedListServiceVersionsResultresults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-