@Generated(value="software.amazon.awssdk:codegen") public final class CreateSchemaRequest extends PersonalizeRequest implements ToCopyableBuilder<CreateSchemaRequest.Builder,CreateSchemaRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateSchemaRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateSchemaRequest.Builder |
builder() |
Domain |
domain()
The domain for the schema.
|
String |
domainAsString()
The domain for the schema.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name for the schema.
|
String |
schema()
A schema in Avro JSON format.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateSchemaRequest.Builder> |
serializableBuilderClass() |
CreateSchemaRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name for the schema.
public final String schema()
A schema in Avro JSON format.
public final Domain domain()
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
If the service returns an enum value that is not available in the current SDK version, domain will
return Domain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
domainAsString().
Domainpublic final String domainAsString()
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
If the service returns an enum value that is not available in the current SDK version, domain will
return Domain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
domainAsString().
Domainpublic CreateSchemaRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateSchemaRequest.Builder,CreateSchemaRequest>toBuilder in class PersonalizeRequestpublic static CreateSchemaRequest.Builder builder()
public static Class<? extends CreateSchemaRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.