Interface SchemaDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SchemaDefinition.Builder,,SchemaDefinition> SdkBuilder<SchemaDefinition.Builder,,SchemaDefinition> SdkPojo
- Enclosing class:
SchemaDefinition
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the schema definition.default SchemaDefinition.Builderitems(Consumer<SchemaDefinition.Builder> items) The items in the schema definition.items(SchemaDefinition items) The items in the schema definition.properties(Map<String, SchemaDefinition> properties) The properties of the schema definition.The required fields in the schema definition.required(Collection<String> required) The required fields in the schema definition.The type of the schema definition.type(SchemaType type) The type of the schema definition.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, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of the schema definition. This field specifies the data type of the schema.
- Parameters:
type- The type of the schema definition. This field specifies the data type of the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the schema definition. This field specifies the data type of the schema.
- Parameters:
type- The type of the schema definition. This field specifies the data type of the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
properties
The properties of the schema definition. These properties define the fields in the schema.
- Parameters:
properties- The properties of the schema definition. These properties define the fields in the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
required
The required fields in the schema definition. These fields must be provided when using the schema.
- Parameters:
required- The required fields in the schema definition. These fields must be provided when using the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
required
The required fields in the schema definition. These fields must be provided when using the schema.
- Parameters:
required- The required fields in the schema definition. These fields must be provided when using the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items in the schema definition. This field is used for array types to define the structure of the array elements.
- Parameters:
items- The items in the schema definition. This field is used for array types to define the structure of the array elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items in the schema definition. This field is used for array types to define the structure of the array elements.
This is a convenience method that creates an instance of theSchemaDefinition.Builderavoiding the need to create one manually viaSchemaDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(SchemaDefinition).- Parameters:
items- a consumer that will call methods onSchemaDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the schema definition. This description provides information about the purpose and usage of the schema.
- Parameters:
description- The description of the schema definition. This description provides information about the purpose and usage of the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-