Class SchemaConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.firehose.model.SchemaConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SchemaConfiguration.Builder,SchemaConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class SchemaConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SchemaConfiguration.Builder,SchemaConfiguration>
Specifies the schema to which you want Kinesis Data Firehose to configure your data before it writes it to Amazon S3. This parameter is required if
Enabledis set to true.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSchemaConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchemaConfiguration.Builderbuilder()StringcatalogId()The ID of the Amazon Web Services Glue Data Catalog.StringdatabaseName()Specifies the name of the Amazon Web Services Glue database that contains the schema for the output data.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringregion()If you don't specify an Amazon Web Services Region, the default is the current Region.StringroleARN()The role that Kinesis Data Firehose can use to access Amazon Web Services Glue.List<SdkField<?>>sdkFields()static Class<? extends SchemaConfiguration.Builder>serializableBuilderClass()StringtableName()Specifies the Amazon Web Services Glue table that contains the column information that constitutes your data schema.SchemaConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionId()Specifies the table version for the output data schema.-
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
-
roleARN
public final String roleARN()
The role that Kinesis Data Firehose can use to access Amazon Web Services Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
If the
SchemaConfigurationrequest parameter is used as part of invoking theCreateDeliveryStreamAPI, then theRoleARNproperty is required and its value must be specified.- Returns:
- The role that Kinesis Data Firehose can use to access Amazon Web Services Glue. This role must be in the
same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
If the
SchemaConfigurationrequest parameter is used as part of invoking theCreateDeliveryStreamAPI, then theRoleARNproperty is required and its value must be specified.
-
catalogId
public final String catalogId()
The ID of the Amazon Web Services Glue Data Catalog. If you don't supply this, the Amazon Web Services account ID is used by default.
- Returns:
- The ID of the Amazon Web Services Glue Data Catalog. If you don't supply this, the Amazon Web Services account ID is used by default.
-
databaseName
public final String databaseName()
Specifies the name of the Amazon Web Services Glue database that contains the schema for the output data.
If the
SchemaConfigurationrequest parameter is used as part of invoking theCreateDeliveryStreamAPI, then theDatabaseNameproperty is required and its value must be specified.- Returns:
- Specifies the name of the Amazon Web Services Glue database that contains the schema for the output
data.
If the
SchemaConfigurationrequest parameter is used as part of invoking theCreateDeliveryStreamAPI, then theDatabaseNameproperty is required and its value must be specified.
-
tableName
public final String tableName()
Specifies the Amazon Web Services Glue table that contains the column information that constitutes your data schema.
If the
SchemaConfigurationrequest parameter is used as part of invoking theCreateDeliveryStreamAPI, then theTableNameproperty is required and its value must be specified.- Returns:
- Specifies the Amazon Web Services Glue table that contains the column information that constitutes your
data schema.
If the
SchemaConfigurationrequest parameter is used as part of invoking theCreateDeliveryStreamAPI, then theTableNameproperty is required and its value must be specified.
-
region
public final String region()
If you don't specify an Amazon Web Services Region, the default is the current Region.
- Returns:
- If you don't specify an Amazon Web Services Region, the default is the current Region.
-
versionId
public final String versionId()
Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it to
LATEST, Kinesis Data Firehose uses the most recent version. This means that any updates to the table are automatically picked up.- Returns:
- Specifies the table version for the output data schema. If you don't specify this version ID, or if you
set it to
LATEST, Kinesis Data Firehose uses the most recent version. This means that any updates to the table are automatically picked up.
-
toBuilder
public SchemaConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SchemaConfiguration.Builder,SchemaConfiguration>
-
builder
public static SchemaConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends SchemaConfiguration.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.
-
-