@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IcebergInput extends Object implements Serializable, Cloneable, StructuredPojo
A structure that defines an Apache Iceberg metadata table to create in the catalog.
Constructor and Description |
---|
IcebergInput() |
Modifier and Type | Method and Description |
---|---|
IcebergInput |
clone() |
boolean |
equals(Object obj) |
String |
getMetadataOperation()
A required metadata operation.
|
String |
getVersion()
The table version for the Iceberg table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetadataOperation(String metadataOperation)
A required metadata operation.
|
void |
setVersion(String version)
The table version for the Iceberg table.
|
String |
toString()
Returns a string representation of this object.
|
IcebergInput |
withMetadataOperation(MetadataOperation metadataOperation)
A required metadata operation.
|
IcebergInput |
withMetadataOperation(String metadataOperation)
A required metadata operation.
|
IcebergInput |
withVersion(String version)
The table version for the Iceberg table.
|
public void setMetadataOperation(String metadataOperation)
A required metadata operation. Can only be set to CREATE
.
metadataOperation
- A required metadata operation. Can only be set to CREATE
.MetadataOperation
public String getMetadataOperation()
A required metadata operation. Can only be set to CREATE
.
CREATE
.MetadataOperation
public IcebergInput withMetadataOperation(String metadataOperation)
A required metadata operation. Can only be set to CREATE
.
metadataOperation
- A required metadata operation. Can only be set to CREATE
.MetadataOperation
public IcebergInput withMetadataOperation(MetadataOperation metadataOperation)
A required metadata operation. Can only be set to CREATE
.
metadataOperation
- A required metadata operation. Can only be set to CREATE
.MetadataOperation
public void setVersion(String version)
The table version for the Iceberg table. Defaults to 2.
version
- The table version for the Iceberg table. Defaults to 2.public String getVersion()
The table version for the Iceberg table. Defaults to 2.
public IcebergInput withVersion(String version)
The table version for the Iceberg table. Defaults to 2.
version
- The table version for the Iceberg table. Defaults to 2.public String toString()
toString
in class Object
Object.toString()
public IcebergInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.