SetSchemaResponse.Builder
public final class SetSchemaResponse.Builder
Builder for SetSchemaResponse objects.
Summary
Public methods |
|
|---|---|
@NonNull SetSchemaResponse.Builder |
addDeletedType(@NonNull String deletedType)Adds one |
@NonNull SetSchemaResponse.Builder |
addDeletedTypes(@NonNull Collection<String> deletedTypes)Adds |
@NonNull SetSchemaResponse.Builder |
addIncompatibleType(@NonNull String incompatibleType)Adds one |
@NonNull SetSchemaResponse.Builder |
addIncompatibleTypes(@NonNull Collection<String> incompatibleTypes)Adds |
@NonNull SetSchemaResponse.Builder |
addMigratedType(@NonNull String migratedType)Adds one |
@NonNull SetSchemaResponse.Builder |
addMigratedTypes(@NonNull Collection<String> migratedTypes)Adds |
@NonNull SetSchemaResponse.Builder |
addMigrationFailure(Adds a |
@NonNull SetSchemaResponse.Builder |
addMigrationFailures(Adds |
@NonNull SetSchemaResponse |
build()Builds a |
Public methods
addDeletedType
public @NonNull SetSchemaResponse.Builder addDeletedType(@NonNull String deletedType)
Adds one deletedType to the list of deleted schema types.
addDeletedTypes
public @NonNull SetSchemaResponse.Builder addDeletedTypes(@NonNull Collection<String> deletedTypes)
Adds deletedTypes to the list of deleted schema types.
addIncompatibleType
public @NonNull SetSchemaResponse.Builder addIncompatibleType(@NonNull String incompatibleType)
Adds one incompatibleType to the list of incompatible schema types.
addIncompatibleTypes
public @NonNull SetSchemaResponse.Builder addIncompatibleTypes(@NonNull Collection<String> incompatibleTypes)
Adds incompatibleTypes to the list of incompatible schema types.
addMigratedType
public @NonNull SetSchemaResponse.Builder addMigratedType(@NonNull String migratedType)
Adds one migratedType to the list of migrated schema types.
addMigratedTypes
public @NonNull SetSchemaResponse.Builder addMigratedTypes(@NonNull Collection<String> migratedTypes)
Adds migratedTypes to the list of migrated schema types.
addMigrationFailure
public @NonNull SetSchemaResponse.Builder addMigrationFailure(
@NonNull SetSchemaResponse.MigrationFailure migrationFailure
)
Adds a MigrationFailure to the list of migration failures.
addMigrationFailures
public @NonNull SetSchemaResponse.Builder addMigrationFailures(
@NonNull Collection<SetSchemaResponse.MigrationFailure> migrationFailures
)
Adds MigrationFailures to the list of migration failures.