Interface S3HyperDirectTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3HyperDirectTarget.Builder,S3HyperDirectTarget>,SdkBuilder<S3HyperDirectTarget.Builder,S3HyperDirectTarget>,SdkPojo
- Enclosing class:
- S3HyperDirectTarget
@Mutable @NotThreadSafe public static interface S3HyperDirectTarget.Builder extends SdkPojo, CopyableBuilder<S3HyperDirectTarget.Builder,S3HyperDirectTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S3HyperDirectTarget.Buildercompression(String compression)The compression type to apply to the output data.S3HyperDirectTarget.Buildercompression(HyperTargetCompressionType compression)The compression type to apply to the output data.S3HyperDirectTarget.Builderinputs(String... inputs)Specifies the input source for the HyperDirect target.S3HyperDirectTarget.Builderinputs(Collection<String> inputs)Specifies the input source for the HyperDirect target.S3HyperDirectTarget.Buildername(String name)The unique identifier for the HyperDirect target node.S3HyperDirectTarget.BuilderpartitionKeys(Collection<? extends Collection<String>> partitionKeys)Defines the partitioning strategy for the output data.S3HyperDirectTarget.BuilderpartitionKeys(Collection<String>... partitionKeys)Defines the partitioning strategy for the output data.S3HyperDirectTarget.Builderpath(String path)The S3 location where the output data will be written.default S3HyperDirectTarget.BuilderschemaChangePolicy(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy)Defines how schema changes are handled during write operations.S3HyperDirectTarget.BuilderschemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)Defines how schema changes are handled during write operations.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
S3HyperDirectTarget.Builder name(String name)
The unique identifier for the HyperDirect target node.
- Parameters:
name- The unique identifier for the HyperDirect target node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
S3HyperDirectTarget.Builder inputs(Collection<String> inputs)
Specifies the input source for the HyperDirect target.
- Parameters:
inputs- Specifies the input source for the HyperDirect target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
S3HyperDirectTarget.Builder inputs(String... inputs)
Specifies the input source for the HyperDirect target.
- Parameters:
inputs- Specifies the input source for the HyperDirect target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
S3HyperDirectTarget.Builder partitionKeys(Collection<? extends Collection<String>> partitionKeys)
Defines the partitioning strategy for the output data.
- Parameters:
partitionKeys- Defines the partitioning strategy for the output data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
S3HyperDirectTarget.Builder partitionKeys(Collection<String>... partitionKeys)
Defines the partitioning strategy for the output data.
- Parameters:
partitionKeys- Defines the partitioning strategy for the output data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
S3HyperDirectTarget.Builder path(String path)
The S3 location where the output data will be written.
- Parameters:
path- The S3 location where the output data will be written.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compression
S3HyperDirectTarget.Builder compression(String compression)
The compression type to apply to the output data.
- Parameters:
compression- The compression type to apply to the output data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HyperTargetCompressionType,HyperTargetCompressionType
-
compression
S3HyperDirectTarget.Builder compression(HyperTargetCompressionType compression)
The compression type to apply to the output data.
- Parameters:
compression- The compression type to apply to the output data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HyperTargetCompressionType,HyperTargetCompressionType
-
schemaChangePolicy
S3HyperDirectTarget.Builder schemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
Defines how schema changes are handled during write operations.
- Parameters:
schemaChangePolicy- Defines how schema changes are handled during write operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaChangePolicy
default S3HyperDirectTarget.Builder schemaChangePolicy(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy)
Defines how schema changes are handled during write operations.
This is a convenience method that creates an instance of theDirectSchemaChangePolicy.Builderavoiding the need to create one manually viaDirectSchemaChangePolicy.builder().When the
Consumercompletes,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)
-
-