public static interface ListDeploymentsResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListDeploymentsResponse.Builder |
deployments(Collection<DeploymentSummary> deployments)
An array of deployment with summary data.
|
ListDeploymentsResponse.Builder |
deployments(Consumer<DeploymentSummary.Builder>... deployments)
An array of deployment with summary data.
|
ListDeploymentsResponse.Builder |
deployments(DeploymentSummary... deployments)
An array of deployment with summary data.
|
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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListDeploymentsResponse.Builder deployments(Collection<DeploymentSummary> deployments)
An array of deployment with summary data.
deployments - An array of deployment with summary data.ListDeploymentsResponse.Builder deployments(DeploymentSummary... deployments)
An array of deployment with summary data.
deployments - An array of deployment with summary data.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.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)
A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.
nextToken - A token that indicates the location of the next deployment in the array of deployment, after the
current requested list of deployment.Copyright © 2023. All rights reserved.