Interface GetDeploymentsResponse.Builder
- All Superinterfaces:
ApiGatewayV2Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetDeploymentsResponse.Builder,,GetDeploymentsResponse> SdkBuilder<GetDeploymentsResponse.Builder,,GetDeploymentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDeploymentsResponse
public static interface GetDeploymentsResponse.Builder
extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<GetDeploymentsResponse.Builder,GetDeploymentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<Deployment> items) The elements from this collection.items(Consumer<Deployment.Builder>... items) The elements from this collection.items(Deployment... items) The elements from this collection.The next page of elements from this collection.Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
items
The elements from this collection.
- Parameters:
items- The elements from this collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The elements from this collection.
- Parameters:
items- The elements from this collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The elements from this collection.
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 toitems(List<Deployment>).- Parameters:
items- 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 next page of elements from this collection. Not valid for the last element of the collection.
- Parameters:
nextToken- The next page of elements from this collection. Not valid for the last element of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-