Class PartitionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.glue.PartitionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PartitionReference>
- Enclosing interface:
PartitionReference
@Stability(Stable)
public static final class PartitionReference.Builder
extends Object
implements software.amazon.jsii.Builder<PartitionReference>
A builder for
PartitionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofPartitionReference.getCatalogId()databaseName(String databaseName) Sets the value ofPartitionReference.getDatabaseName()identifierPartitionInputValues(String identifierPartitionInputValues) Sets the value ofPartitionReference.getIdentifierPartitionInputValues()Sets the value ofPartitionReference.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
Sets the value ofPartitionReference.getCatalogId()- Parameters:
catalogId- The CatalogId of the Partition resource. This parameter is required.- Returns:
this
-
databaseName
Sets the value ofPartitionReference.getDatabaseName()- Parameters:
databaseName- The DatabaseName of the Partition resource. This parameter is required.- Returns:
this
-
identifierPartitionInputValues
@Stability(Stable) public PartitionReference.Builder identifierPartitionInputValues(String identifierPartitionInputValues) Sets the value ofPartitionReference.getIdentifierPartitionInputValues()- Parameters:
identifierPartitionInputValues- The IdentifierPartitionInputValues of the Partition resource. This parameter is required.- Returns:
this
-
tableName
Sets the value ofPartitionReference.getTableName()- Parameters:
tableName- The TableName of the Partition resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PartitionReference>- Returns:
- a new instance of
PartitionReference - Throws:
NullPointerException- if any required attribute was not provided
-