Class CreateSchemaRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.personalize.model.PersonalizeRequest
-
- software.amazon.awssdk.services.personalize.model.CreateSchemaRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateSchemaRequest.Builder,CreateSchemaRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateSchemaRequest extends PersonalizeRequest implements ToCopyableBuilder<CreateSchemaRequest.Builder,CreateSchemaRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateSchemaRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateSchemaRequest.Builderbuilder()Domaindomain()The domain for the schema.StringdomainAsString()The domain for the schema.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name for the schema.Stringschema()A schema in Avro JSON format.List<SdkField<?>>sdkFields()static Class<? extends CreateSchemaRequest.Builder>serializableBuilderClass()CreateSchemaRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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()
The name for the schema.
- Returns:
- The name for the schema.
-
schema
public final String schema()
A schema in Avro JSON format.
- Returns:
- A schema in Avro JSON format.
-
domain
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,
domainwill returnDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainAsString().- Returns:
- 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.
- See Also:
Domain
-
domainAsString
public 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,
domainwill returnDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainAsString().- Returns:
- 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.
- See Also:
Domain
-
toBuilder
public CreateSchemaRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateSchemaRequest.Builder,CreateSchemaRequest>- Specified by:
toBuilderin classPersonalizeRequest
-
builder
public static CreateSchemaRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateSchemaRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-