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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListStatementsResponse.BuildernextToken(String nextToken)A continuation token, if not all statements have yet been returned.ListStatementsResponse.Builderstatements(Collection<Statement> statements)Returns the list of statements.ListStatementsResponse.Builderstatements(Consumer<Statement.Builder>... statements)Returns the list of statements.ListStatementsResponse.Builderstatements(Statement... statements)Returns the list of statements.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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
-
statements
ListStatementsResponse.Builder statements(Collection<Statement> 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
ListStatementsResponse.Builder statements(Statement... 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
ListStatementsResponse.Builder statements(Consumer<Statement.Builder>... 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 to#statements(List.) - 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:
#statements(java.util.Collection)
-
nextToken
ListStatementsResponse.Builder nextToken(String 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.
-
-