Interface DescribeApplicationVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeApplicationVersionsResponse.Builder,
,DescribeApplicationVersionsResponse> ElasticBeanstalkResponse.Builder
,SdkBuilder<DescribeApplicationVersionsResponse.Builder,
,DescribeApplicationVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeApplicationVersionsResponse
public static interface DescribeApplicationVersionsResponse.Builder
extends ElasticBeanstalkResponse.Builder, SdkPojo, CopyableBuilder<DescribeApplicationVersionsResponse.Builder,DescribeApplicationVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationVersions
(Collection<ApplicationVersionDescription> applicationVersions) List ofApplicationVersionDescription
objects sorted in order of creation.applicationVersions
(Consumer<ApplicationVersionDescription.Builder>... applicationVersions) List ofApplicationVersionDescription
objects sorted in order of creation.applicationVersions
(ApplicationVersionDescription... applicationVersions) List ofApplicationVersionDescription
objects sorted in order of creation.In a paginated request, the token that you can pass in a subsequent request to get the next response page.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
applicationVersions
DescribeApplicationVersionsResponse.Builder applicationVersions(Collection<ApplicationVersionDescription> applicationVersions) List of
ApplicationVersionDescription
objects sorted in order of creation.- Parameters:
applicationVersions
- List ofApplicationVersionDescription
objects sorted in order of creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationVersions
DescribeApplicationVersionsResponse.Builder applicationVersions(ApplicationVersionDescription... applicationVersions) List of
ApplicationVersionDescription
objects sorted in order of creation.- Parameters:
applicationVersions
- List ofApplicationVersionDescription
objects sorted in order of creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationVersions
DescribeApplicationVersionsResponse.Builder applicationVersions(Consumer<ApplicationVersionDescription.Builder>... applicationVersions) List of
This is a convenience method that creates an instance of theApplicationVersionDescription
objects sorted in order of creation.ApplicationVersionDescription.Builder
avoiding the need to create one manually viaApplicationVersionDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationVersions(List<ApplicationVersionDescription>)
.- Parameters:
applicationVersions
- a consumer that will call methods onApplicationVersionDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
In a paginated request, the token that you can pass in a subsequent request to get the next response page.
- Parameters:
nextToken
- In a paginated request, the token that you can pass in a subsequent request to get the next response page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-