Interface ListDeploymentsForEnvironmentResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListDeploymentsForEnvironmentResponse.Builder,,ListDeploymentsForEnvironmentResponse> SdkBuilder<ListDeploymentsForEnvironmentResponse.Builder,,ListDeploymentsForEnvironmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDeploymentsForEnvironmentResponse
@Mutable
@NotThreadSafe
public static interface ListDeploymentsForEnvironmentResponse.Builder
extends AmplifyGen3Response.Builder, SdkPojo, CopyableBuilder<ListDeploymentsForEnvironmentResponse.Builder,ListDeploymentsForEnvironmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeployments(Collection<DeploymentSummary> deployments) The deployments.deployments(Consumer<DeploymentSummary.Builder>... deployments) The deployments.deployments(DeploymentSummary... deployments) The deployments.The pagination token returned in a previous response, used to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Response.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deployments
ListDeploymentsForEnvironmentResponse.Builder deployments(Collection<DeploymentSummary> deployments) The deployments.
- Parameters:
deployments- The deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
The deployments.
- Parameters:
deployments- The deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
ListDeploymentsForEnvironmentResponse.Builder deployments(Consumer<DeploymentSummary.Builder>... deployments) The deployments.
This is a convenience method that creates an instance of theDeploymentSummary.Builderavoiding the need to create one manually viaDeploymentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeployments(List<DeploymentSummary>).- Parameters:
deployments- a consumer that will call methods onDeploymentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token returned in a previous response, used to retrieve the next page of results.
- Parameters:
nextToken- The pagination token returned in a previous response, used to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-