Class CfnPartition.PartitionInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnPartition.PartitionInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartition.PartitionInputProperty>
- Enclosing interface:
CfnPartition.PartitionInputProperty
@Stability(Stable)
public static final class CfnPartition.PartitionInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartition.PartitionInputProperty>
A builder for
CfnPartition.PartitionInputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.parameters
(Object parameters) Sets the value ofCfnPartition.PartitionInputProperty.getParameters()
storageDescriptor
(IResolvable storageDescriptor) Sets the value ofCfnPartition.PartitionInputProperty.getStorageDescriptor()
storageDescriptor
(CfnPartition.StorageDescriptorProperty storageDescriptor) Sets the value ofCfnPartition.PartitionInputProperty.getStorageDescriptor()
Sets the value ofCfnPartition.PartitionInputProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
values
Sets the value ofCfnPartition.PartitionInputProperty.getValues()
- Parameters:
values
- The values of the partition. This parameter is required. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.
- Returns:
this
-
parameters
Sets the value ofCfnPartition.PartitionInputProperty.getParameters()
- Parameters:
parameters
- These key-value pairs define partition parameters.- Returns:
this
-
storageDescriptor
@Stability(Stable) public CfnPartition.PartitionInputProperty.Builder storageDescriptor(IResolvable storageDescriptor) Sets the value ofCfnPartition.PartitionInputProperty.getStorageDescriptor()
- Parameters:
storageDescriptor
- Provides information about the physical location where the partition is stored.- Returns:
this
-
storageDescriptor
@Stability(Stable) public CfnPartition.PartitionInputProperty.Builder storageDescriptor(CfnPartition.StorageDescriptorProperty storageDescriptor) Sets the value ofCfnPartition.PartitionInputProperty.getStorageDescriptor()
- Parameters:
storageDescriptor
- Provides information about the physical location where the partition is stored.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPartition.PartitionInputProperty>
- Returns:
- a new instance of
CfnPartition.PartitionInputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-