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.BuilderschemaId(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
schemaId
A structure that contains schema identity fields. Either this or the
SchemaVersionIdhas to be provided.- Parameters:
schemaId- A structure that contains schema identity fields. Either this or theSchemaVersionIdhas 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 theSchemaVersionIdhas to be provided.SchemaId.Builderavoiding the need to create one manually viaSchemaId.builder().When the
Consumercompletes,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
SchemaIdhas to be provided.- Parameters:
schemaVersionId- The unique ID assigned to a version of the schema. Either this or theSchemaIdhas 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.
-