SetSchemaResponse.Builder


public final class SetSchemaResponse.Builder


Builder for SetSchemaResponse objects.

Summary

Public constructors

Create a Builder object}

Public methods

@NonNull SetSchemaResponse.Builder

Adds one deletedType to the list of deleted schema types.

@NonNull SetSchemaResponse.Builder

Adds deletedTypes to the list of deleted schema types.

@NonNull SetSchemaResponse.Builder
addIncompatibleType(@NonNull String incompatibleType)

Adds one incompatibleType to the list of incompatible schema types.

@NonNull SetSchemaResponse.Builder

Adds incompatibleTypes to the list of incompatible schema types.

@NonNull SetSchemaResponse.Builder

Adds one migratedType to the list of migrated schema types.

@NonNull SetSchemaResponse.Builder

Adds migratedTypes to the list of migrated schema types.

@NonNull SetSchemaResponse.Builder

Adds a MigrationFailure to the list of migration failures.

@NonNull SetSchemaResponse.Builder

Adds MigrationFailures to the list of migration failures.

@NonNull SetSchemaResponse

Builds a SetSchemaResponse object.

Public constructors

Builder

Added in 1.1.0-alpha06
public Builder()

Create a Builder object}

Public methods

addDeletedType

Added in 1.1.0-alpha06
public @NonNull SetSchemaResponse.Builder addDeletedType(@NonNull String deletedType)

Adds one deletedType to the list of deleted schema types.

addDeletedTypes

Added in 1.1.0-alpha06
public @NonNull SetSchemaResponse.Builder addDeletedTypes(@NonNull Collection<String> deletedTypes)

Adds deletedTypes to the list of deleted schema types.

addIncompatibleType

Added in 1.1.0-alpha06
public @NonNull SetSchemaResponse.Builder addIncompatibleType(@NonNull String incompatibleType)

Adds one incompatibleType to the list of incompatible schema types.

addIncompatibleTypes

Added in 1.1.0-alpha06
public @NonNull SetSchemaResponse.Builder addIncompatibleTypes(@NonNull Collection<String> incompatibleTypes)

Adds incompatibleTypes to the list of incompatible schema types.

addMigratedType

Added in 1.1.0-alpha06
public @NonNull SetSchemaResponse.Builder addMigratedType(@NonNull String migratedType)

Adds one migratedType to the list of migrated schema types.

addMigratedTypes

Added in 1.1.0-alpha06
public @NonNull SetSchemaResponse.Builder addMigratedTypes(@NonNull Collection<String> migratedTypes)

Adds migratedTypes to the list of migrated schema types.

addMigrationFailure

Added in 1.1.0-alpha06
public @NonNull SetSchemaResponse.Builder addMigrationFailure(
    @NonNull SetSchemaResponse.MigrationFailure migrationFailure
)

Adds a MigrationFailure to the list of migration failures.

addMigrationFailures

Added in 1.1.0-alpha06
public @NonNull SetSchemaResponse.Builder addMigrationFailures(
    @NonNull Collection<SetSchemaResponse.MigrationFailure> migrationFailures
)

Adds MigrationFailures to the list of migration failures.

build

Added in 1.1.0-alpha06
public @NonNull SetSchemaResponse build()

Builds a SetSchemaResponse object.