Class GetSchemaVersionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.glue.model.GlueResponse
-
- software.amazon.awssdk.services.glue.model.GetSchemaVersionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetSchemaVersionResponse.Builder,GetSchemaVersionResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetSchemaVersionResponse extends GlueResponse implements ToCopyableBuilder<GetSchemaVersionResponse.Builder,GetSchemaVersionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetSchemaVersionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSchemaVersionResponse.Builderbuilder()StringcreatedTime()The date and time the schema version was created.DataFormatdataFormat()The data format of the schema definition.StringdataFormatAsString()The data format of the schema definition.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringschemaArn()The Amazon Resource Name (ARN) of the schema.StringschemaDefinition()The schema definition for the schema ID.StringschemaVersionId()TheSchemaVersionIdof the schema version.List<SdkField<?>>sdkFields()static Class<? extends GetSchemaVersionResponse.Builder>serializableBuilderClass()SchemaVersionStatusstatus()The status of the schema version.StringstatusAsString()The status of the schema version.GetSchemaVersionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongversionNumber()The version number of the schema.-
Methods inherited from class software.amazon.awssdk.services.glue.model.GlueResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
schemaVersionId
public final String schemaVersionId()
The
SchemaVersionIdof the schema version.- Returns:
- The
SchemaVersionIdof the schema version.
-
schemaDefinition
public final String schemaDefinition()
The schema definition for the schema ID.
- Returns:
- The schema definition for the schema ID.
-
dataFormat
public final DataFormat dataFormat()
The data format of the schema definition. Currently
AVRO,JSONandPROTOBUFare supported.If the service returns an enum value that is not available in the current SDK version,
dataFormatwill returnDataFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataFormatAsString().- Returns:
- The data format of the schema definition. Currently
AVRO,JSONandPROTOBUFare supported. - See Also:
DataFormat
-
dataFormatAsString
public final String dataFormatAsString()
The data format of the schema definition. Currently
AVRO,JSONandPROTOBUFare supported.If the service returns an enum value that is not available in the current SDK version,
dataFormatwill returnDataFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataFormatAsString().- Returns:
- The data format of the schema definition. Currently
AVRO,JSONandPROTOBUFare supported. - See Also:
DataFormat
-
schemaArn
public final String schemaArn()
The Amazon Resource Name (ARN) of the schema.
- Returns:
- The Amazon Resource Name (ARN) of the schema.
-
versionNumber
public final Long versionNumber()
The version number of the schema.
- Returns:
- The version number of the schema.
-
status
public final SchemaVersionStatus status()
The status of the schema version.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSchemaVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the schema version.
- See Also:
SchemaVersionStatus
-
statusAsString
public final String statusAsString()
The status of the schema version.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSchemaVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the schema version.
- See Also:
SchemaVersionStatus
-
createdTime
public final String createdTime()
The date and time the schema version was created.
- Returns:
- The date and time the schema version was created.
-
toBuilder
public GetSchemaVersionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetSchemaVersionResponse.Builder,GetSchemaVersionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetSchemaVersionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetSchemaVersionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-