Interface SchemaReference.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SchemaReference.Builder,
,SchemaReference> SdkBuilder<SchemaReference.Builder,
,SchemaReference> SdkPojo
- Enclosing class:
SchemaReference
public static interface SchemaReference.Builder
extends SdkPojo, CopyableBuilder<SchemaReference.Builder,SchemaReference>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SchemaReference.Builder
schemaId
(Consumer<SchemaId.Builder> schemaId) A structure that contains schema identity fields.A structure that contains schema identity fields.schemaVersionId
(String schemaVersionId) The unique ID assigned to a version of the schema.schemaVersionNumber
(Long schemaVersionNumber) The version number of the schema.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
-
Method Details
-
schemaId
A structure that contains schema identity fields. Either this or the
SchemaVersionId
has to be provided.- Parameters:
schemaId
- A structure that contains schema identity fields. Either this or theSchemaVersionId
has to be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaId
A structure that contains schema identity fields. Either this or the
This is a convenience method that creates an instance of theSchemaVersionId
has to be provided.SchemaId.Builder
avoiding the need to create one manually viaSchemaId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaId(SchemaId)
.- Parameters:
schemaId
- a consumer that will call methods onSchemaId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schemaVersionId
The unique ID assigned to a version of the schema. Either this or the
SchemaId
has to be provided.- Parameters:
schemaVersionId
- The unique ID assigned to a version of the schema. Either this or theSchemaId
has to be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaVersionNumber
The version number of the schema.
- Parameters:
schemaVersionNumber
- The version number of the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-