Interface ListDeploymentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>,ProtonResponse.Builder,SdkBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDeploymentsResponse
public static interface ListDeploymentsResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDeploymentsResponse.Builderdeployments(Collection<DeploymentSummary> deployments)An array of deployment with summary data.ListDeploymentsResponse.Builderdeployments(Consumer<DeploymentSummary.Builder>... deployments)An array of deployment with summary data.ListDeploymentsResponse.Builderdeployments(DeploymentSummary... deployments)An array of deployment with summary data.ListDeploymentsResponse.BuildernextToken(String nextToken)A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.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 Detail
-
deployments
ListDeploymentsResponse.Builder deployments(Collection<DeploymentSummary> deployments)
An array of deployment with summary data.
- Parameters:
deployments- An array of deployment with summary data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
ListDeploymentsResponse.Builder deployments(DeploymentSummary... deployments)
An array of deployment with summary data.
- Parameters:
deployments- An array of deployment with summary data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
ListDeploymentsResponse.Builder deployments(Consumer<DeploymentSummary.Builder>... deployments)
An array of deployment with summary data.
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 to#deployments(List.) - 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:
#deployments(java.util.Collection)
-
nextToken
ListDeploymentsResponse.Builder nextToken(String nextToken)
A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.
- Parameters:
nextToken- A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-