SetSchemaResponse.Builder

public static final classSetSchemaResponse.BuilderextendsObject

Builder forSetSchemaResponse objects.

Public Constructor Summary

Public Method Summary

SetSchemaResponse.Builder
addDeletedType(StringdeletedType)
Adds onedeletedTypeto the list of deleted schema types.
SetSchemaResponse.Builder
addDeletedTypes(Collection<String> deletedTypes)
AddsdeletedTypesto the list of deleted schema types.
SetSchemaResponse.Builder
addIncompatibleType(String incompatibleType)
Adds oneincompatibleTypeto the list of incompatible schema types.
SetSchemaResponse.Builder
addIncompatibleTypes(Collection<String> incompatibleTypes)
AddsincompatibleTypesto the list of incompatible schema types.
SetSchemaResponse.Builder
addMigratedType(String migratedType)
Adds onemigratedTypeto the list of migrated schema types.
SetSchemaResponse.Builder
addMigratedTypes(Collection<String> migratedTypes)
AddsmigratedTypesto the list of migrated schema types.
SetSchemaResponse.Builder
addMigrationFailure(SetSchemaResponse.MigrationFailure migrationFailure)
Adds a SetSchemaResponse.MigrationFailureto the list of migration failures.
SetSchemaResponse.Builder
SetSchemaResponse
build()
Builds aSetSchemaResponse object.

Inherited Method Summary

Public Constructors

publicBuilder()

Create aSetSchemaResponse.Builder object}

Public Methods

publicSetSchemaResponse.Builder addDeletedType(String deletedType)

Adds onedeletedTypeto the list of deleted schema types.

publicSetSchemaResponse.Builder addDeletedTypes(Collection<String> deletedTypes)

AddsdeletedTypesto the list of deleted schema types.

publicSetSchemaResponse.Builder addIncompatibleType(String incompatibleType)

Adds oneincompatibleTypeto the list of incompatible schema types.

publicSetSchemaResponse.Builder addIncompatibleTypes(Collection<String> incompatibleTypes)

AddsincompatibleTypesto the list of incompatible schema types.

publicSetSchemaResponse.Builder addMigratedType(String migratedType)

Adds onemigratedTypeto the list of migrated schema types.

publicSetSchemaResponse.Builder addMigratedTypes(Collection<String> migratedTypes)

AddsmigratedTypesto the list of migrated schema types.

publicSetSchemaResponse.Builder addMigrationFailure(SetSchemaResponse.MigrationFailure migrationFailure)

Adds a SetSchemaResponse.MigrationFailureto the list of migration failures.

publicSetSchemaResponse.Builder addMigrationFailures(Collection<SetSchemaResponse.MigrationFailure> migrationFailures)

Adds SetSchemaResponse.MigrationFailures to the list of migration failures.

publicSetSchemaResponse build()

Builds aSetSchemaResponse object.