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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetSchemaResponse.Buildererrors(Collection<BatchGetSchemaError> errors)Error reasons for schemas that could not be retrieved.BatchGetSchemaResponse.Buildererrors(Consumer<BatchGetSchemaError.Builder>... errors)Error reasons for schemas that could not be retrieved.BatchGetSchemaResponse.Buildererrors(BatchGetSchemaError... errors)Error reasons for schemas that could not be retrieved.BatchGetSchemaResponse.Builderschemas(Collection<Schema> schemas)The retrieved list of schemas.BatchGetSchemaResponse.Builderschemas(Consumer<Schema.Builder>... schemas)The retrieved list of schemas.BatchGetSchemaResponse.Builderschemas(Schema... schemas)The retrieved list of schemas.-
Methods inherited from interface software.amazon.awssdk.services.cleanrooms.model.CleanRoomsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
schemas
BatchGetSchemaResponse.Builder schemas(Collection<Schema> 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
BatchGetSchemaResponse.Builder schemas(Schema... 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
BatchGetSchemaResponse.Builder schemas(Consumer<Schema.Builder>... 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 to#schemas(List.) - 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:
#schemas(java.util.Collection)
-
errors
BatchGetSchemaResponse.Builder errors(Collection<BatchGetSchemaError> 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
BatchGetSchemaResponse.Builder errors(BatchGetSchemaError... 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
BatchGetSchemaResponse.Builder errors(Consumer<BatchGetSchemaError.Builder>... 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 to#errors(List.) - 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:
#errors(java.util.Collection)
-
-