Interface RegisterSchemaVersionRequest.Builder

    • Method Detail

      • schemaId

        RegisterSchemaVersionRequest.Builder schemaId​(SchemaId schemaId)

        This is a wrapper structure to contain schema identity fields. The structure contains:

        • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

        • SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

        Parameters:
        schemaId - This is a wrapper structure to contain schema identity fields. The structure contains:

        • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

        • SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schemaId

        default RegisterSchemaVersionRequest.Builder schemaId​(Consumer<SchemaId.Builder> schemaId)

        This is a wrapper structure to contain schema identity fields. The structure contains:

        • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

        • SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

        This is a convenience method that creates an instance of the SchemaId.Builder avoiding the need to create one manually via SchemaId.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to schemaId(SchemaId).

        Parameters:
        schemaId - a consumer that will call methods on SchemaId.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        schemaId(SchemaId)
      • schemaDefinition

        RegisterSchemaVersionRequest.Builder schemaDefinition​(String schemaDefinition)

        The schema definition using the DataFormat setting for the SchemaName.

        Parameters:
        schemaDefinition - The schema definition using the DataFormat setting for the SchemaName.
        Returns:
        Returns a reference to this object so that method calls can be chained together.