Interface ListFunctionVersionsByCapacityProviderResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFunctionVersionsByCapacityProviderResponse.Builder,,ListFunctionVersionsByCapacityProviderResponse> LambdaResponse.Builder,SdkBuilder<ListFunctionVersionsByCapacityProviderResponse.Builder,,ListFunctionVersionsByCapacityProviderResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFunctionVersionsByCapacityProviderResponse
@Mutable
@NotThreadSafe
public static interface ListFunctionVersionsByCapacityProviderResponse.Builder
extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<ListFunctionVersionsByCapacityProviderResponse.Builder,ListFunctionVersionsByCapacityProviderResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityProviderArn(String capacityProviderArn) The Amazon Resource Name (ARN) of the capacity provider.functionVersions(Collection<FunctionVersionsByCapacityProviderListItem> functionVersions) A list of function versions that use the specified capacity provider.functionVersions(Consumer<FunctionVersionsByCapacityProviderListItem.Builder>... functionVersions) A list of function versions that use the specified capacity provider.functionVersions(FunctionVersionsByCapacityProviderListItem... functionVersions) A list of function versions that use the specified capacity provider.nextMarker(String nextMarker) The pagination token that's included if more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.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
-
capacityProviderArn
ListFunctionVersionsByCapacityProviderResponse.Builder capacityProviderArn(String capacityProviderArn) The Amazon Resource Name (ARN) of the capacity provider.
- Parameters:
capacityProviderArn- The Amazon Resource Name (ARN) of the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionVersions
ListFunctionVersionsByCapacityProviderResponse.Builder functionVersions(Collection<FunctionVersionsByCapacityProviderListItem> functionVersions) A list of function versions that use the specified capacity provider.
- Parameters:
functionVersions- A list of function versions that use the specified capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionVersions
ListFunctionVersionsByCapacityProviderResponse.Builder functionVersions(FunctionVersionsByCapacityProviderListItem... functionVersions) A list of function versions that use the specified capacity provider.
- Parameters:
functionVersions- A list of function versions that use the specified capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionVersions
ListFunctionVersionsByCapacityProviderResponse.Builder functionVersions(Consumer<FunctionVersionsByCapacityProviderListItem.Builder>... functionVersions) A list of function versions that use the specified capacity provider.
This is a convenience method that creates an instance of theFunctionVersionsByCapacityProviderListItem.Builderavoiding the need to create one manually viaFunctionVersionsByCapacityProviderListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofunctionVersions(List<FunctionVersionsByCapacityProviderListItem>).- Parameters:
functionVersions- a consumer that will call methods onFunctionVersionsByCapacityProviderListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextMarker
The pagination token that's included if more results are available.
- Parameters:
nextMarker- The pagination token that's included if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-