Interface SearchSchemasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchSchemasResponse.Builder,,SearchSchemasResponse> SchemasResponse.Builder,SdkBuilder<SearchSchemasResponse.Builder,,SearchSchemasResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchSchemasResponse
public static interface SearchSchemasResponse.Builder
extends SchemasResponse.Builder, SdkPojo, CopyableBuilder<SearchSchemasResponse.Builder,SearchSchemasResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token that specifies the next page of results to return.schemas(Collection<SearchSchemaSummary> schemas) An array of SearchSchemaSummary information.schemas(Consumer<SearchSchemaSummary.Builder>... schemas) An array of SearchSchemaSummary information.schemas(SearchSchemaSummary... schemas) An array of SearchSchemaSummary information.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 SearchSchemaSummary information.
- Parameters:
schemas- An array of SearchSchemaSummary information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
An array of SearchSchemaSummary information.
- Parameters:
schemas- An array of SearchSchemaSummary information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
An array of SearchSchemaSummary information.
This is a convenience method that creates an instance of theSearchSchemaSummary.Builderavoiding the need to create one manually viaSearchSchemaSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschemas(List<SearchSchemaSummary>).- Parameters:
schemas- a consumer that will call methods onSearchSchemaSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-