Class GetSchemaByDefinitionResponse
- 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.GetSchemaByDefinitionResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetSchemaByDefinitionResponse.Builder,GetSchemaByDefinitionResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetSchemaByDefinitionResponse extends GlueResponse implements ToCopyableBuilder<GetSchemaByDefinitionResponse.Builder,GetSchemaByDefinitionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetSchemaByDefinitionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSchemaByDefinitionResponse.Builder
builder()
String
createdTime()
The date and time the schema was created.DataFormat
dataFormat()
The data format of the schema definition.String
dataFormatAsString()
The data format of the schema definition.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
schemaArn()
The Amazon Resource Name (ARN) of the schema.String
schemaVersionId()
The schema ID of the schema version.List<SdkField<?>>
sdkFields()
static Class<? extends GetSchemaByDefinitionResponse.Builder>
serializableBuilderClass()
SchemaVersionStatus
status()
The status of the schema version.String
statusAsString()
The status of the schema version.GetSchemaByDefinitionResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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 schema ID of the schema version.
- Returns:
- The schema ID of the schema version.
-
schemaArn
public final String schemaArn()
The Amazon Resource Name (ARN) of the schema.
- Returns:
- The Amazon Resource Name (ARN) of the schema.
-
dataFormat
public final DataFormat dataFormat()
The data format of the schema definition. Currently
AVRO
,JSON
andPROTOBUF
are supported.If the service returns an enum value that is not available in the current SDK version,
dataFormat
will 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
,JSON
andPROTOBUF
are supported. - See Also:
DataFormat
-
dataFormatAsString
public final String dataFormatAsString()
The data format of the schema definition. Currently
AVRO
,JSON
andPROTOBUF
are supported.If the service returns an enum value that is not available in the current SDK version,
dataFormat
will 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
,JSON
andPROTOBUF
are supported. - See Also:
DataFormat
-
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,
status
will 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,
status
will 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 was created.
- Returns:
- The date and time the schema was created.
-
toBuilder
public GetSchemaByDefinitionResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetSchemaByDefinitionResponse.Builder,GetSchemaByDefinitionResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static GetSchemaByDefinitionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetSchemaByDefinitionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
-