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
Modifier and TypeMethodDescriptiondeployments(Collection<DeploymentDataSummary> deployments) Lists the deployments.deployments(Consumer<DeploymentDataSummary.Builder>... deployments) Lists the deployments.deployments(DeploymentDataSummary... deployments) Lists the deployments.The token to include in another request to get the next page of items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.launchwizard.model.LaunchWizardResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
Lists the deployments.
- Parameters:
deployments- Lists the deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 todeployments(List<DeploymentDataSummary>).- 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:
-
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.
-