Class CfnPartitionPropsMixin.PartitionInputProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnPartitionPropsMixin.PartitionInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartitionPropsMixin.PartitionInputProperty>
- Enclosing interface:
CfnPartitionPropsMixin.PartitionInputProperty
@Stability(Stable)
public static final class CfnPartitionPropsMixin.PartitionInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartitionPropsMixin.PartitionInputProperty>
A builder for
CfnPartitionPropsMixin.PartitionInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.parameters(Object parameters) Sets the value ofCfnPartitionPropsMixin.PartitionInputProperty.getParameters()storageDescriptor(IResolvable storageDescriptor) Sets the value ofCfnPartitionPropsMixin.PartitionInputProperty.getStorageDescriptor()storageDescriptor(CfnPartitionPropsMixin.StorageDescriptorProperty storageDescriptor) Sets the value ofCfnPartitionPropsMixin.PartitionInputProperty.getStorageDescriptor()Sets the value ofCfnPartitionPropsMixin.PartitionInputProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parameters
@Stability(Stable) public CfnPartitionPropsMixin.PartitionInputProperty.Builder parameters(Object parameters) Sets the value ofCfnPartitionPropsMixin.PartitionInputProperty.getParameters()- Parameters:
parameters- These key-value pairs define partition parameters.- Returns:
this
-
storageDescriptor
@Stability(Stable) public CfnPartitionPropsMixin.PartitionInputProperty.Builder storageDescriptor(IResolvable storageDescriptor) Sets the value ofCfnPartitionPropsMixin.PartitionInputProperty.getStorageDescriptor()- Parameters:
storageDescriptor- Provides information about the physical location where the partition is stored.- Returns:
this
-
storageDescriptor
@Stability(Stable) public CfnPartitionPropsMixin.PartitionInputProperty.Builder storageDescriptor(CfnPartitionPropsMixin.StorageDescriptorProperty storageDescriptor) Sets the value ofCfnPartitionPropsMixin.PartitionInputProperty.getStorageDescriptor()- Parameters:
storageDescriptor- Provides information about the physical location where the partition is stored.- Returns:
this
-
values
@Stability(Stable) public CfnPartitionPropsMixin.PartitionInputProperty.Builder values(List<String> values) Sets the value ofCfnPartitionPropsMixin.PartitionInputProperty.getValues()- Parameters:
values- The values of the partition. 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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartitionPropsMixin.PartitionInputProperty>- Returns:
- a new instance of
CfnPartitionPropsMixin.PartitionInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-