Interface ListDeploymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDeploymentsResponse.Builder,,ListDeploymentsResponse> NetworkSecurityManagerResponse.Builder,SdkBuilder<ListDeploymentsResponse.Builder,,ListDeploymentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDeploymentsResponse
@Mutable
@NotThreadSafe
public static interface ListDeploymentsResponse.Builder
extends NetworkSecurityManagerResponse.Builder, SdkPojo, CopyableBuilder<ListDeploymentsResponse.Builder,ListDeploymentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeployments(Collection<DeploymentSummary> deployments) The list of deployments.deployments(Consumer<DeploymentSummary.Builder>... deployments) The list of deployments.deployments(DeploymentSummary... deployments) The list of deployments.The token for the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networksecuritymanager.model.NetworkSecurityManagerResponse.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
-
nextToken
The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.
- Parameters:
nextToken- The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
The list of deployments.
- Parameters:
deployments- The list of deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
The list of deployments.
- Parameters:
deployments- The list of deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
The list of deployments.
This is a convenience method that creates an instance of theDeploymentSummary.Builderavoiding the need to create one manually viaDeploymentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeployments(List<DeploymentSummary>).- Parameters:
deployments- a consumer that will call methods onDeploymentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-