Class SchemaConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SchemaConfiguration.Builder,SchemaConfiguration>
Specifies the schema to which you want Firehose to configure your data before it writes it to Amazon S3. This
parameter is required if Enabled is set to true.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaConfiguration.Builderbuilder()final StringThe ID of the Amazon Web Services Glue Data Catalog.final StringSpecifies the name of the Amazon Web Services Glue database that contains the schema for the output data.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringregion()If you don't specify an Amazon Web Services Region, the default is the current Region.final StringroleARN()The role that Firehose can use to access Amazon Web Services Glue.static Class<? extends SchemaConfiguration.Builder> final StringSpecifies the Amazon Web Services Glue table that contains the column information that constitutes your data schema.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringSpecifies the table version for the output data schema.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
roleARN
The role that Firehose can use to access Amazon Web Services Glue. This role must be in the same account you use for 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 Firehose can use to access Amazon Web Services Glue. This role must be in the same account
you use for 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
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
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
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
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
Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it to
LATEST, 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, Firehose uses the most recent version. This means that any updates to the table are automatically picked up.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SchemaConfiguration.Builder,SchemaConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-