Interface ListDeploymentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>,M2Response.Builder,SdkBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDeploymentsResponse
public static interface ListDeploymentsResponse.Builder extends M2Response.Builder, SdkPojo, CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDeploymentsResponse.Builderdeployments(Collection<DeploymentSummary> deployments)The list of deployments that is returned.ListDeploymentsResponse.Builderdeployments(Consumer<DeploymentSummary.Builder>... deployments)The list of deployments that is returned.ListDeploymentsResponse.Builderdeployments(DeploymentSummary... deployments)The list of deployments that is returned.ListDeploymentsResponse.BuildernextToken(String nextToken)If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.m2.model.M2Response.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)
The list of deployments that is returned.
- Parameters:
deployments- The list of deployments that is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
ListDeploymentsResponse.Builder deployments(DeploymentSummary... deployments)
The list of deployments that is returned.
- Parameters:
deployments- The list of deployments that is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
ListDeploymentsResponse.Builder deployments(Consumer<DeploymentSummary.Builder>... deployments)
The list of deployments that is returned.
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)
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
- Parameters:
nextToken- If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-