Interface ListDeploymentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>,LaunchWizardResponse.Builder,SdkBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDeploymentsResponse
public static interface ListDeploymentsResponse.Builder extends LaunchWizardResponse.Builder, SdkPojo, CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDeploymentsResponse.Builderdeployments(Collection<DeploymentDataSummary> deployments)Lists the deployments.ListDeploymentsResponse.Builderdeployments(Consumer<DeploymentDataSummary.Builder>... deployments)Lists the deployments.ListDeploymentsResponse.Builderdeployments(DeploymentDataSummary... deployments)Lists the deployments.ListDeploymentsResponse.BuildernextToken(String nextToken)The token to include in another request to get the next page of items.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.launchwizard.model.LaunchWizardResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
deployments
ListDeploymentsResponse.Builder deployments(Collection<DeploymentDataSummary> deployments)
Lists the deployments.
- Parameters:
deployments- Lists the deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
ListDeploymentsResponse.Builder deployments(DeploymentDataSummary... deployments)
Lists the deployments.
- Parameters:
deployments- Lists the deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
ListDeploymentsResponse.Builder deployments(Consumer<DeploymentDataSummary.Builder>... deployments)
Lists the deployments.
This is a convenience method that creates an instance of theDeploymentDataSummary.Builderavoiding the need to create one manually viaDeploymentDataSummary.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 onDeploymentDataSummary.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)
The token to include in another request to get the next page of items. This value is
nullwhen there are no more items to return.- Parameters:
nextToken- The token to include in another request to get the next page of items. This value isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-