Interface ListStatementsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListStatementsResponse.Builder,,ListStatementsResponse> GlueResponse.Builder,SdkBuilder<ListStatementsResponse.Builder,,ListStatementsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListStatementsResponse
public static interface ListStatementsResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<ListStatementsResponse.Builder,ListStatementsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA continuation token, if not all statements have yet been returned.statements(Collection<Statement> statements) Returns the list of statements.statements(Consumer<Statement.Builder>... statements) Returns the list of statements.statements(Statement... statements) Returns the list of statements.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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
-
statements
Returns the list of statements.
- Parameters:
statements- Returns the list of statements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statements
Returns the list of statements.
- Parameters:
statements- Returns the list of statements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statements
Returns the list of statements.
This is a convenience method that creates an instance of theStatement.Builderavoiding the need to create one manually viaStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatements(List<Statement>).- Parameters:
statements- a consumer that will call methods onStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A continuation token, if not all statements have yet been returned.
- Parameters:
nextToken- A continuation token, if not all statements have yet been returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-