Interface S3GlueParquetTarget.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<S3GlueParquetTarget.Builder,S3GlueParquetTarget>
,SdkBuilder<S3GlueParquetTarget.Builder,S3GlueParquetTarget>
,SdkPojo
- Enclosing class:
- S3GlueParquetTarget
public static interface S3GlueParquetTarget.Builder extends SdkPojo, CopyableBuilder<S3GlueParquetTarget.Builder,S3GlueParquetTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S3GlueParquetTarget.Builder
compression(String compression)
Specifies how the data is compressed.S3GlueParquetTarget.Builder
compression(ParquetCompressionType compression)
Specifies how the data is compressed.S3GlueParquetTarget.Builder
inputs(String... inputs)
The nodes that are inputs to the data target.S3GlueParquetTarget.Builder
inputs(Collection<String> inputs)
The nodes that are inputs to the data target.S3GlueParquetTarget.Builder
name(String name)
The name of the data target.S3GlueParquetTarget.Builder
partitionKeys(Collection<? extends Collection<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.S3GlueParquetTarget.Builder
partitionKeys(Collection<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.S3GlueParquetTarget.Builder
path(String path)
A single Amazon S3 path to write to.default S3GlueParquetTarget.Builder
schemaChangePolicy(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy)
A policy that specifies update behavior for the crawler.S3GlueParquetTarget.Builder
schemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
S3GlueParquetTarget.Builder name(String name)
The name of the data target.
- Parameters:
name
- The name of the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
S3GlueParquetTarget.Builder inputs(Collection<String> inputs)
The nodes that are inputs to the data target.
- Parameters:
inputs
- The nodes that are inputs to the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
S3GlueParquetTarget.Builder inputs(String... inputs)
The nodes that are inputs to the data target.
- Parameters:
inputs
- The nodes that are inputs to the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
S3GlueParquetTarget.Builder partitionKeys(Collection<? extends Collection<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
- Parameters:
partitionKeys
- Specifies native partitioning using a sequence of keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
S3GlueParquetTarget.Builder partitionKeys(Collection<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
- Parameters:
partitionKeys
- Specifies native partitioning using a sequence of keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
S3GlueParquetTarget.Builder path(String path)
A single Amazon S3 path to write to.
- Parameters:
path
- A single Amazon S3 path to write to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compression
S3GlueParquetTarget.Builder compression(String compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are
"gzip"
and"bzip"
).- Parameters:
compression
- Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are"gzip"
and"bzip"
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParquetCompressionType
,ParquetCompressionType
-
compression
S3GlueParquetTarget.Builder compression(ParquetCompressionType compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are
"gzip"
and"bzip"
).- Parameters:
compression
- Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are"gzip"
and"bzip"
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParquetCompressionType
,ParquetCompressionType
-
schemaChangePolicy
S3GlueParquetTarget.Builder schemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
- Parameters:
schemaChangePolicy
- A policy that specifies update behavior for the crawler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaChangePolicy
default S3GlueParquetTarget.Builder schemaChangePolicy(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy)
A policy that specifies update behavior for the crawler.
This is a convenience method that creates an instance of theDirectSchemaChangePolicy.Builder
avoiding the need to create one manually viaDirectSchemaChangePolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaChangePolicy(DirectSchemaChangePolicy)
.- Parameters:
schemaChangePolicy
- a consumer that will call methods onDirectSchemaChangePolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
schemaChangePolicy(DirectSchemaChangePolicy)
-
-