Interface CreateSchemaResponse.Builder

    • Method Detail

      • registryName

        CreateSchemaResponse.Builder registryName​(String registryName)

        The name of the registry.

        Parameters:
        registryName - The name of the registry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • registryArn

        CreateSchemaResponse.Builder registryArn​(String registryArn)

        The Amazon Resource Name (ARN) of the registry.

        Parameters:
        registryArn - The Amazon Resource Name (ARN) of the registry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schemaName

        CreateSchemaResponse.Builder schemaName​(String schemaName)

        The name of the schema.

        Parameters:
        schemaName - The name of the schema.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schemaArn

        CreateSchemaResponse.Builder schemaArn​(String schemaArn)

        The Amazon Resource Name (ARN) of the schema.

        Parameters:
        schemaArn - The Amazon Resource Name (ARN) of the schema.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateSchemaResponse.Builder description​(String description)

        A description of the schema if specified when created.

        Parameters:
        description - A description of the schema if specified when created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataFormat

        CreateSchemaResponse.Builder dataFormat​(String dataFormat)

        The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.

        Parameters:
        dataFormat - The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataFormat, DataFormat
      • dataFormat

        CreateSchemaResponse.Builder dataFormat​(DataFormat dataFormat)

        The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.

        Parameters:
        dataFormat - The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataFormat, DataFormat
      • compatibility

        CreateSchemaResponse.Builder compatibility​(String compatibility)

        The schema compatibility mode.

        Parameters:
        compatibility - The schema compatibility mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Compatibility, Compatibility
      • schemaCheckpoint

        CreateSchemaResponse.Builder schemaCheckpoint​(Long schemaCheckpoint)

        The version number of the checkpoint (the last time the compatibility mode was changed).

        Parameters:
        schemaCheckpoint - The version number of the checkpoint (the last time the compatibility mode was changed).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • latestSchemaVersion

        CreateSchemaResponse.Builder latestSchemaVersion​(Long latestSchemaVersion)

        The latest version of the schema associated with the returned schema definition.

        Parameters:
        latestSchemaVersion - The latest version of the schema associated with the returned schema definition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextSchemaVersion

        CreateSchemaResponse.Builder nextSchemaVersion​(Long nextSchemaVersion)

        The next version of the schema associated with the returned schema definition.

        Parameters:
        nextSchemaVersion - The next version of the schema associated with the returned schema definition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateSchemaResponse.Builder tags​(Map<String,​String> tags)

        The tags for the schema.

        Parameters:
        tags - The tags for the schema.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schemaVersionId

        CreateSchemaResponse.Builder schemaVersionId​(String schemaVersionId)

        The unique identifier of the first schema version.

        Parameters:
        schemaVersionId - The unique identifier of the first schema version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schemaVersionStatus

        CreateSchemaResponse.Builder schemaVersionStatus​(String schemaVersionStatus)

        The status of the first schema version created.

        Parameters:
        schemaVersionStatus - The status of the first schema version created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SchemaVersionStatus, SchemaVersionStatus