AI-generated Key Takeaways
-
SetSchemaResponse.Builder is used to create SetSchemaResponse objects.
-
The builder includes methods to add deleted, incompatible, and migrated schema types.
-
You can also add individual or collections of migration failures to the builder.
-
The
build()method is used to finalize and create the SetSchemaResponse object.
Builder for SetSchemaResponse
objects.
Public Constructor Summary
|
Builder()
Create a
SetSchemaResponse.Builder object}
|
Public Method Summary
Inherited Method Summary
Public Constructors
public Builder ()
Create a SetSchemaResponse.Builder
object}
Public Methods
public SetSchemaResponse.Builder addDeletedType (String deletedType)
Adds one deletedType to the list of deleted schema types.
public SetSchemaResponse.Builder addDeletedTypes (Collection<String> deletedTypes)
Adds deletedTypes to the list of deleted schema types.
public SetSchemaResponse.Builder addIncompatibleType (String incompatibleType)
Adds one incompatibleType to the list of incompatible schema types.
public SetSchemaResponse.Builder addIncompatibleTypes (Collection<String> incompatibleTypes)
Adds incompatibleTypes to the list of incompatible schema types.
public SetSchemaResponse.Builder addMigratedType (String migratedType)
Adds one migratedType to the list of migrated schema types.
public SetSchemaResponse.Builder addMigratedTypes (Collection<String> migratedTypes)
Adds migratedTypes to the list of migrated schema types.
public SetSchemaResponse.Builder addMigrationFailure (SetSchemaResponse.MigrationFailure migrationFailure)
Adds a
SetSchemaResponse.MigrationFailure to the list of migration failures.
public SetSchemaResponse.Builder addMigrationFailures (Collection<SetSchemaResponse.MigrationFailure> migrationFailures)
Adds
SetSchemaResponse.MigrationFailures to the list of migration failures.
public SetSchemaResponse build ()
Builds a SetSchemaResponse
object.