Interface ListVersionsByFunctionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListVersionsByFunctionResponse.Builder,,ListVersionsByFunctionResponse> LambdaResponse.Builder,SdkBuilder<ListVersionsByFunctionResponse.Builder,,ListVersionsByFunctionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListVersionsByFunctionResponse
public static interface ListVersionsByFunctionResponse.Builder
extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<ListVersionsByFunctionResponse.Builder,ListVersionsByFunctionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextMarker(String nextMarker) The pagination token that's included if more results are available.versions(Collection<FunctionConfiguration> versions) A list of Lambda function versions.versions(Consumer<FunctionConfiguration.Builder>... versions) A list of Lambda function versions.versions(FunctionConfiguration... versions) A list of Lambda function versions.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
versions
A list of Lambda function versions.
- Parameters:
versions- A list of Lambda function versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
A list of Lambda function versions.
- Parameters:
versions- A list of Lambda function versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
ListVersionsByFunctionResponse.Builder versions(Consumer<FunctionConfiguration.Builder>... versions) A list of Lambda function versions.
This is a convenience method that creates an instance of theFunctionConfiguration.Builderavoiding the need to create one manually viaFunctionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toversions(List<FunctionConfiguration>).- Parameters:
versions- a consumer that will call methods onFunctionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-