SetSchemaResponse.Builder

class SetSchemaResponse.Builder


Builder for SetSchemaResponse objects.

Summary

Public constructors

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-alpha04
Builder()

Public functions

addDeletedType

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

Adds one deletedType to the list of deleted schema types.

addDeletedTypes

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

Adds deletedTypes to the list of deleted schema types.

addIncompatibleType

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

Adds one incompatibleType to the list of incompatible schema types.

addIncompatibleTypes

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

Adds incompatibleTypes to the list of incompatible schema types.

addMigratedType

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

Adds one migratedType to the list of migrated schema types.

addMigratedTypes

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

Adds migratedTypes to the list of migrated schema types.

addMigrationFailure

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

Adds a MigrationFailure to the list of migration failures.

addMigrationFailures

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

Adds MigrationFailures to the list of migration failures.

build

Added in 1.1.0-alpha04
fun build(): SetSchemaResponse

Builds a SetSchemaResponse object.