Interface ListSchemaVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSchemaVersionsResponse.Builder,ListSchemaVersionsResponse>,GlueResponse.Builder,SdkBuilder<ListSchemaVersionsResponse.Builder,ListSchemaVersionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSchemaVersionsResponse
public static interface ListSchemaVersionsResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<ListSchemaVersionsResponse.Builder,ListSchemaVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSchemaVersionsResponse.BuildernextToken(String nextToken)A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.ListSchemaVersionsResponse.Builderschemas(Collection<SchemaVersionListItem> schemas)An array ofSchemaVersionListobjects containing details of each schema version.ListSchemaVersionsResponse.Builderschemas(Consumer<SchemaVersionListItem.Builder>... schemas)An array ofSchemaVersionListobjects containing details of each schema version.ListSchemaVersionsResponse.Builderschemas(SchemaVersionListItem... schemas)An array ofSchemaVersionListobjects containing details of each schema version.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
schemas
ListSchemaVersionsResponse.Builder schemas(Collection<SchemaVersionListItem> schemas)
An array of
SchemaVersionListobjects containing details of each schema version.- Parameters:
schemas- An array ofSchemaVersionListobjects containing details of each schema version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
ListSchemaVersionsResponse.Builder schemas(SchemaVersionListItem... schemas)
An array of
SchemaVersionListobjects containing details of each schema version.- Parameters:
schemas- An array ofSchemaVersionListobjects containing details of each schema version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
ListSchemaVersionsResponse.Builder schemas(Consumer<SchemaVersionListItem.Builder>... schemas)
An array of
This is a convenience method that creates an instance of theSchemaVersionListobjects containing details of each schema version.SchemaVersionListItem.Builderavoiding the need to create one manually viaSchemaVersionListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#schemas(List.) - Parameters:
schemas- a consumer that will call methods onSchemaVersionListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#schemas(java.util.Collection)
-
nextToken
ListSchemaVersionsResponse.Builder nextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
- Parameters:
nextToken- A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-