SetSchemaResponse.Builder


class SetSchemaResponse.Builder


Builder for SetSchemaResponse objects.

Summary

Public constructors

Create a Builder object}

Public functions

SetSchemaResponse.Builder
addDeletedType(deletedType: String)

Adds one deletedType to the list of deleted schema types.

SetSchemaResponse.Builder

Adds deletedTypes to the list of deleted schema types.

SetSchemaResponse.Builder
addIncompatibleType(incompatibleType: String)

Adds one incompatibleType to the list of incompatible schema types.

SetSchemaResponse.Builder

Adds incompatibleTypes to the list of incompatible schema types.

SetSchemaResponse.Builder
addMigratedType(migratedType: String)

Adds one migratedType to the list of migrated schema types.

SetSchemaResponse.Builder

Adds migratedTypes to the list of migrated schema types.

SetSchemaResponse.Builder

Adds a MigrationFailure to the list of migration failures.

SetSchemaResponse.Builder

Adds MigrationFailures to the list of migration failures.

SetSchemaResponse

Builds a SetSchemaResponse object.

Public constructors

Builder

Added in 1.1.0-alpha06
Builder()

Create a Builder object}

Public functions

addDeletedType

Added in 1.1.0-alpha06
fun addDeletedType(deletedType: String): SetSchemaResponse.Builder

Adds one deletedType to the list of deleted schema types.

addDeletedTypes

Added in 1.1.0-alpha06
fun addDeletedTypes(deletedTypes: (Mutable)Collection<String!>): SetSchemaResponse.Builder

Adds deletedTypes to the list of deleted schema types.

addIncompatibleType

Added in 1.1.0-alpha06
fun addIncompatibleType(incompatibleType: String): SetSchemaResponse.Builder

Adds one incompatibleType to the list of incompatible schema types.

addIncompatibleTypes

Added in 1.1.0-alpha06
fun addIncompatibleTypes(incompatibleTypes: (Mutable)Collection<String!>): SetSchemaResponse.Builder

Adds incompatibleTypes to the list of incompatible schema types.

addMigratedType

Added in 1.1.0-alpha06
fun addMigratedType(migratedType: String): SetSchemaResponse.Builder

Adds one migratedType to the list of migrated schema types.

addMigratedTypes

Added in 1.1.0-alpha06
fun addMigratedTypes(migratedTypes: (Mutable)Collection<String!>): SetSchemaResponse.Builder

Adds migratedTypes to the list of migrated schema types.

addMigrationFailure

Added in 1.1.0-alpha06
fun addMigrationFailure(
    migrationFailure: SetSchemaResponse.MigrationFailure
): SetSchemaResponse.Builder

Adds a MigrationFailure to the list of migration failures.

addMigrationFailures

Added in 1.1.0-alpha06
fun addMigrationFailures(
    migrationFailures: (Mutable)Collection<SetSchemaResponse.MigrationFailure!>
): SetSchemaResponse.Builder

Adds MigrationFailures to the list of migration failures.

build

Added in 1.1.0-alpha06
fun build(): SetSchemaResponse

Builds a SetSchemaResponse object.