Interface ListSchemasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSchemasResponse.Builder,,ListSchemasResponse> SchemasResponse.Builder,SdkBuilder<ListSchemasResponse.Builder,,ListSchemasResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSchemasResponse
public static interface ListSchemasResponse.Builder
extends SchemasResponse.Builder, SdkPojo, CopyableBuilder<ListSchemasResponse.Builder,ListSchemasResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token that specifies the next page of results to return.schemas(Collection<SchemaSummary> schemas) An array of schema summaries.schemas(Consumer<SchemaSummary.Builder>... schemas) An array of schema summaries.schemas(SchemaSummary... schemas) An array of schema summaries.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.schemas.model.SchemasResponse.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
-
nextToken
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
- Parameters:
nextToken- The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
An array of schema summaries.
- Parameters:
schemas- An array of schema summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
An array of schema summaries.
- Parameters:
schemas- An array of schema summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
An array of schema summaries.
This is a convenience method that creates an instance of theSchemaSummary.Builderavoiding the need to create one manually viaSchemaSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschemas(List<SchemaSummary>).- Parameters:
schemas- a consumer that will call methods onSchemaSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-