Class CreatePartitionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.glue.model.GlueRequest
-
- software.amazon.awssdk.services.glue.model.CreatePartitionRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<CreatePartitionRequest.Builder,CreatePartitionRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreatePartitionRequest extends GlueRequest implements ToCopyableBuilder<CreatePartitionRequest.Builder,CreatePartitionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CreatePartitionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreatePartitionRequest.Builder
builder()
String
catalogId()
The Amazon Web Services account ID of the catalog in which the partition is to be created.String
databaseName()
The name of the metadata database in which the partition is to be created.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
PartitionInput
partitionInput()
APartitionInput
structure defining the partition to be created.List<SdkField<?>>
sdkFields()
static Class<? extends CreatePartitionRequest.Builder>
serializableBuilderClass()
String
tableName()
The name of the metadata table in which the partition is to be created.CreatePartitionRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
catalogId
public final String catalogId()
The Amazon Web Services account ID of the catalog in which the partition is to be created.
- Returns:
- The Amazon Web Services account ID of the catalog in which the partition is to be created.
-
databaseName
public final String databaseName()
The name of the metadata database in which the partition is to be created.
- Returns:
- The name of the metadata database in which the partition is to be created.
-
tableName
public final String tableName()
The name of the metadata table in which the partition is to be created.
- Returns:
- The name of the metadata table in which the partition is to be created.
-
partitionInput
public final PartitionInput partitionInput()
A
PartitionInput
structure defining the partition to be created.- Returns:
- A
PartitionInput
structure defining the partition to be created.
-
toBuilder
public CreatePartitionRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CreatePartitionRequest.Builder,CreatePartitionRequest>
- Specified by:
toBuilder
in classGlueRequest
-
builder
public static CreatePartitionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreatePartitionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-