Interface ListDeploymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDeploymentsResponse.Builder,,ListDeploymentsResponse> GreengrassV2Response.Builder,SdkBuilder<ListDeploymentsResponse.Builder,,ListDeploymentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDeploymentsResponse
public static interface ListDeploymentsResponse.Builder
extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeployments(Collection<Deployment> deployments) A list that summarizes each deployment.deployments(Consumer<Deployment.Builder>... deployments) A list that summarizes each deployment.deployments(Deployment... deployments) A list that summarizes each deployment.The token for the next set of results, or null if there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deployments
A list that summarizes each deployment.
- Parameters:
deployments- A list that summarizes each deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
A list that summarizes each deployment.
- Parameters:
deployments- A list that summarizes each deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
A list that summarizes each deployment.
This is a convenience method that creates an instance of theDeployment.Builderavoiding the need to create one manually viaDeployment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeployments(List<Deployment>).- Parameters:
deployments- a consumer that will call methods onDeployment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results, or null if there are no additional results.
- Parameters:
nextToken- The token for the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-