@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationFieldProperties extends Object implements Serializable, Cloneable, StructuredPojo
The properties that can be applied to a field when connector is being used as a destination.
Constructor and Description |
---|
DestinationFieldProperties() |
Modifier and Type | Method and Description |
---|---|
DestinationFieldProperties |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsCreatable()
Specifies if the destination field can be created by the current user.
|
Boolean |
getIsDefaultedOnCreate()
Specifies whether the field can use the default value during a Create operation.
|
Boolean |
getIsNullable()
Specifies if the destination field can have a null value.
|
Boolean |
getIsUpdatable()
Specifies whether the field can be updated during an
UPDATE or UPSERT write operation. |
Boolean |
getIsUpsertable()
Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or
update them if they do.
|
List<String> |
getSupportedWriteOperations()
A list of supported write operations.
|
int |
hashCode() |
Boolean |
isCreatable()
Specifies if the destination field can be created by the current user.
|
Boolean |
isDefaultedOnCreate()
Specifies whether the field can use the default value during a Create operation.
|
Boolean |
isNullable()
Specifies if the destination field can have a null value.
|
Boolean |
isUpdatable()
Specifies whether the field can be updated during an
UPDATE or UPSERT write operation. |
Boolean |
isUpsertable()
Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or
update them if they do.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIsCreatable(Boolean isCreatable)
Specifies if the destination field can be created by the current user.
|
void |
setIsDefaultedOnCreate(Boolean isDefaultedOnCreate)
Specifies whether the field can use the default value during a Create operation.
|
void |
setIsNullable(Boolean isNullable)
Specifies if the destination field can have a null value.
|
void |
setIsUpdatable(Boolean isUpdatable)
Specifies whether the field can be updated during an
UPDATE or UPSERT write operation. |
void |
setIsUpsertable(Boolean isUpsertable)
Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or
update them if they do.
|
void |
setSupportedWriteOperations(Collection<String> supportedWriteOperations)
A list of supported write operations.
|
String |
toString()
Returns a string representation of this object.
|
DestinationFieldProperties |
withIsCreatable(Boolean isCreatable)
Specifies if the destination field can be created by the current user.
|
DestinationFieldProperties |
withIsDefaultedOnCreate(Boolean isDefaultedOnCreate)
Specifies whether the field can use the default value during a Create operation.
|
DestinationFieldProperties |
withIsNullable(Boolean isNullable)
Specifies if the destination field can have a null value.
|
DestinationFieldProperties |
withIsUpdatable(Boolean isUpdatable)
Specifies whether the field can be updated during an
UPDATE or UPSERT write operation. |
DestinationFieldProperties |
withIsUpsertable(Boolean isUpsertable)
Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or
update them if they do.
|
DestinationFieldProperties |
withSupportedWriteOperations(Collection<String> supportedWriteOperations)
A list of supported write operations.
|
DestinationFieldProperties |
withSupportedWriteOperations(String... supportedWriteOperations)
A list of supported write operations.
|
DestinationFieldProperties |
withSupportedWriteOperations(WriteOperationType... supportedWriteOperations)
A list of supported write operations.
|
public void setIsCreatable(Boolean isCreatable)
Specifies if the destination field can be created by the current user.
isCreatable
- Specifies if the destination field can be created by the current user.public Boolean getIsCreatable()
Specifies if the destination field can be created by the current user.
public DestinationFieldProperties withIsCreatable(Boolean isCreatable)
Specifies if the destination field can be created by the current user.
isCreatable
- Specifies if the destination field can be created by the current user.public Boolean isCreatable()
Specifies if the destination field can be created by the current user.
public void setIsNullable(Boolean isNullable)
Specifies if the destination field can have a null value.
isNullable
- Specifies if the destination field can have a null value.public Boolean getIsNullable()
Specifies if the destination field can have a null value.
public DestinationFieldProperties withIsNullable(Boolean isNullable)
Specifies if the destination field can have a null value.
isNullable
- Specifies if the destination field can have a null value.public Boolean isNullable()
Specifies if the destination field can have a null value.
public void setIsUpsertable(Boolean isUpsertable)
Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or update them if they do.
isUpsertable
- Specifies if the flow run can either insert new rows in the destination field if they do not already
exist, or update them if they do.public Boolean getIsUpsertable()
Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or update them if they do.
public DestinationFieldProperties withIsUpsertable(Boolean isUpsertable)
Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or update them if they do.
isUpsertable
- Specifies if the flow run can either insert new rows in the destination field if they do not already
exist, or update them if they do.public Boolean isUpsertable()
Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or update them if they do.
public void setIsUpdatable(Boolean isUpdatable)
Specifies whether the field can be updated during an UPDATE
or UPSERT
write operation.
isUpdatable
- Specifies whether the field can be updated during an UPDATE
or UPSERT
write
operation.public Boolean getIsUpdatable()
Specifies whether the field can be updated during an UPDATE
or UPSERT
write operation.
UPDATE
or UPSERT
write
operation.public DestinationFieldProperties withIsUpdatable(Boolean isUpdatable)
Specifies whether the field can be updated during an UPDATE
or UPSERT
write operation.
isUpdatable
- Specifies whether the field can be updated during an UPDATE
or UPSERT
write
operation.public Boolean isUpdatable()
Specifies whether the field can be updated during an UPDATE
or UPSERT
write operation.
UPDATE
or UPSERT
write
operation.public void setIsDefaultedOnCreate(Boolean isDefaultedOnCreate)
Specifies whether the field can use the default value during a Create operation.
isDefaultedOnCreate
- Specifies whether the field can use the default value during a Create operation.public Boolean getIsDefaultedOnCreate()
Specifies whether the field can use the default value during a Create operation.
public DestinationFieldProperties withIsDefaultedOnCreate(Boolean isDefaultedOnCreate)
Specifies whether the field can use the default value during a Create operation.
isDefaultedOnCreate
- Specifies whether the field can use the default value during a Create operation.public Boolean isDefaultedOnCreate()
Specifies whether the field can use the default value during a Create operation.
public List<String> getSupportedWriteOperations()
A list of supported write operations. For each write operation listed, this field can be used in
idFieldNames
when that write operation is present as a destination option.
idFieldNames
when that write operation is present as a destination option.WriteOperationType
public void setSupportedWriteOperations(Collection<String> supportedWriteOperations)
A list of supported write operations. For each write operation listed, this field can be used in
idFieldNames
when that write operation is present as a destination option.
supportedWriteOperations
- A list of supported write operations. For each write operation listed, this field can be used in
idFieldNames
when that write operation is present as a destination option.WriteOperationType
public DestinationFieldProperties withSupportedWriteOperations(String... supportedWriteOperations)
A list of supported write operations. For each write operation listed, this field can be used in
idFieldNames
when that write operation is present as a destination option.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedWriteOperations(java.util.Collection)
or
withSupportedWriteOperations(java.util.Collection)
if you want to override the existing values.
supportedWriteOperations
- A list of supported write operations. For each write operation listed, this field can be used in
idFieldNames
when that write operation is present as a destination option.WriteOperationType
public DestinationFieldProperties withSupportedWriteOperations(Collection<String> supportedWriteOperations)
A list of supported write operations. For each write operation listed, this field can be used in
idFieldNames
when that write operation is present as a destination option.
supportedWriteOperations
- A list of supported write operations. For each write operation listed, this field can be used in
idFieldNames
when that write operation is present as a destination option.WriteOperationType
public DestinationFieldProperties withSupportedWriteOperations(WriteOperationType... supportedWriteOperations)
A list of supported write operations. For each write operation listed, this field can be used in
idFieldNames
when that write operation is present as a destination option.
supportedWriteOperations
- A list of supported write operations. For each write operation listed, this field can be used in
idFieldNames
when that write operation is present as a destination option.WriteOperationType
public String toString()
toString
in class Object
Object.toString()
public DestinationFieldProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.