Class SchemaChangeDetails
- java.lang.Object
-
- software.amazon.awssdk.services.dataexchange.model.SchemaChangeDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SchemaChangeDetails.Builder,SchemaChangeDetails>
@Generated("software.amazon.awssdk:codegen") public final class SchemaChangeDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SchemaChangeDetails.Builder,SchemaChangeDetails>
Object encompassing information about a schema change to a single, particular field, a notification can have up to 100 of these.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSchemaChangeDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchemaChangeDetails.Builderbuilder()Stringdescription()Description of what's changing about this field.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()Name of the changing field.List<SdkField<?>>sdkFields()static Class<? extends SchemaChangeDetails.Builder>serializableBuilderClass()SchemaChangeDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.SchemaChangeTypetype()Is the field being added, removed, or modified?StringtypeAsString()Is the field being added, removed, or modified?-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
Name of the changing field. This value can be up to 255 characters long.
- Returns:
- Name of the changing field. This value can be up to 255 characters long.
-
type
public final SchemaChangeType type()
Is the field being added, removed, or modified?
If the service returns an enum value that is not available in the current SDK version,
typewill returnSchemaChangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Is the field being added, removed, or modified?
- See Also:
SchemaChangeType
-
typeAsString
public final String typeAsString()
Is the field being added, removed, or modified?
If the service returns an enum value that is not available in the current SDK version,
typewill returnSchemaChangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Is the field being added, removed, or modified?
- See Also:
SchemaChangeType
-
description
public final String description()
Description of what's changing about this field. This value can be up to 512 characters long.
- Returns:
- Description of what's changing about this field. This value can be up to 512 characters long.
-
toBuilder
public SchemaChangeDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SchemaChangeDetails.Builder,SchemaChangeDetails>
-
builder
public static SchemaChangeDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends SchemaChangeDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-