public static interface ListDeploymentsResponse.Builder extends M2Response.Builder, SdkPojo, CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListDeploymentsResponse.Builder |
deployments(Collection<DeploymentSummary> deployments)
The list of deployments that is returned.
|
ListDeploymentsResponse.Builder |
deployments(Consumer<DeploymentSummary.Builder>... deployments)
The list of deployments that is returned.
|
ListDeploymentsResponse.Builder |
deployments(DeploymentSummary... deployments)
The list of deployments that is returned.
|
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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListDeploymentsResponse.Builder deployments(Collection<DeploymentSummary> deployments)
The list of deployments that is returned.
deployments - The list of deployments that is returned.ListDeploymentsResponse.Builder deployments(DeploymentSummary... deployments)
The list of deployments that is returned.
deployments - The list of deployments that is returned.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.Builder avoiding the need to create one
manually via DeploymentSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #deployments(List.
deployments - a consumer that will call methods on
DeploymentSummary.Builder#deployments(java.util.Collection) 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.
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.Copyright © 2023. All rights reserved.