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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListVersionsByFunctionResponse.Builder
nextMarker(String nextMarker)
The pagination token that's included if more results are available.ListVersionsByFunctionResponse.Builder
versions(Collection<FunctionConfiguration> versions)
A list of Lambda function versions.ListVersionsByFunctionResponse.Builder
versions(Consumer<FunctionConfiguration.Builder>... versions)
A list of Lambda function versions.ListVersionsByFunctionResponse.Builder
versions(FunctionConfiguration... versions)
A list of Lambda function versions.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextMarker
ListVersionsByFunctionResponse.Builder nextMarker(String 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
ListVersionsByFunctionResponse.Builder versions(Collection<FunctionConfiguration> 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(FunctionConfiguration... 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.Builder
avoiding the need to create one manually viaFunctionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#versions(List
.) - 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:
#versions(java.util.Collection
)
-
-