Interface BatchGetSchemaResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsResponse.Builder,CopyableBuilder<BatchGetSchemaResponse.Builder,,BatchGetSchemaResponse> SdkBuilder<BatchGetSchemaResponse.Builder,,BatchGetSchemaResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetSchemaResponse
public static interface BatchGetSchemaResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<BatchGetSchemaResponse.Builder,BatchGetSchemaResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchGetSchemaError> errors) Error reasons for schemas that could not be retrieved.errors(Consumer<BatchGetSchemaError.Builder>... errors) Error reasons for schemas that could not be retrieved.errors(BatchGetSchemaError... errors) Error reasons for schemas that could not be retrieved.schemas(Collection<Schema> schemas) The retrieved list of schemas.schemas(Consumer<Schema.Builder>... schemas) The retrieved list of schemas.The retrieved list of schemas.Methods inherited from interface software.amazon.awssdk.services.cleanrooms.model.CleanRoomsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
schemas
The retrieved list of schemas.
- Parameters:
schemas- The retrieved list of schemas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
The retrieved list of schemas.
- Parameters:
schemas- The retrieved list of schemas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
The retrieved list of schemas.
This is a convenience method that creates an instance of theSchema.Builderavoiding the need to create one manually viaSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschemas(List<Schema>).- Parameters:
schemas- a consumer that will call methods onSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.
- Parameters:
errors- Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.
- Parameters:
errors- Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.
This is a convenience method that creates an instance of theBatchGetSchemaError.Builderavoiding the need to create one manually viaBatchGetSchemaError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetSchemaError>).- Parameters:
errors- a consumer that will call methods onBatchGetSchemaError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-