Interface GetSchemaResponse.Builder

    • Method Detail

      • registryName

        GetSchemaResponse.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

        GetSchemaResponse.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

        GetSchemaResponse.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

        GetSchemaResponse.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

        GetSchemaResponse.Builder description​(String description)

        A description of schema if specified when created

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

        GetSchemaResponse.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

        GetSchemaResponse.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

        GetSchemaResponse.Builder compatibility​(String compatibility)

        The compatibility mode of the schema.

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

        GetSchemaResponse.Builder compatibility​(Compatibility compatibility)

        The compatibility mode of the schema.

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

        GetSchemaResponse.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

        GetSchemaResponse.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

        GetSchemaResponse.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.
      • schemaStatus

        GetSchemaResponse.Builder schemaStatus​(String schemaStatus)

        The status of the schema.

        Parameters:
        schemaStatus - The status of the schema.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SchemaStatus, SchemaStatus
      • createdTime

        GetSchemaResponse.Builder createdTime​(String createdTime)

        The date and time the schema was created.

        Parameters:
        createdTime - The date and time the schema was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedTime

        GetSchemaResponse.Builder updatedTime​(String updatedTime)

        The date and time the schema was updated.

        Parameters:
        updatedTime - The date and time the schema was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.