Interface ListWebFunctionRevisionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWebFunctionRevisionsResponse.Builder,,ListWebFunctionRevisionsResponse> LambdaWebResponse.Builder,SdkBuilder<ListWebFunctionRevisionsResponse.Builder,,ListWebFunctionRevisionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListWebFunctionRevisionsResponse
@Mutable
@NotThreadSafe
public static interface ListWebFunctionRevisionsResponse.Builder
extends LambdaWebResponse.Builder, SdkPojo, CopyableBuilder<ListWebFunctionRevisionsResponse.Builder,ListWebFunctionRevisionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token that's included if more results are available.revisions(Collection<FunctionRevisionSummary> revisions) A list of revision summaries for the web function.revisions(Consumer<FunctionRevisionSummary.Builder>... revisions) A list of revision summaries for the web function.revisions(FunctionRevisionSummary... revisions) A list of revision summaries for the web function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambdaweb.model.LambdaWebResponse.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
-
revisions
A list of revision summaries for the web function.
- Parameters:
revisions- A list of revision summaries for the web function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
A list of revision summaries for the web function.
- Parameters:
revisions- A list of revision summaries for the web function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
ListWebFunctionRevisionsResponse.Builder revisions(Consumer<FunctionRevisionSummary.Builder>... revisions) A list of revision summaries for the web function.
This is a convenience method that creates an instance of theFunctionRevisionSummary.Builderavoiding the need to create one manually viaFunctionRevisionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevisions(List<FunctionRevisionSummary>).- Parameters:
revisions- a consumer that will call methods onFunctionRevisionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that's included if more results are available.
- Parameters:
nextToken- 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.
-