@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableWriteOperationProperty extends Object implements WriteOperationProperty
WriteOperationProperty.
Use the builder to create immutable instances:
ImmutableWriteOperationProperty.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableWriteOperationProperty.Builder
Builds instances of type
ImmutableWriteOperationProperty. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableWriteOperationProperty.Builder |
builder()
Creates a builder for
ImmutableWriteOperationProperty. |
static ImmutableWriteOperationProperty |
copyOf(WriteOperationProperty instance)
Creates an immutable copy of a
WriteOperationProperty value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableWriteOperationProperty that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
isCreatable, isUpdatable, isNullable, isUpsertable, isDefaultedOnCreate, supportedWriteOperations. |
Boolean |
isCreatable()
Specifies if the destination field can be created by the current user.
|
Boolean |
isDefaultedOnCreate()
Specifies if default value will be used by application while creating records if not provided.
|
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.
|
com.google.common.collect.ImmutableList<WriteOperationType> |
supportedWriteOperations()
A list of supported write operations.
|
String |
toString()
Prints the immutable value
WriteOperationProperty with attribute values. |
ImmutableWriteOperationProperty |
withIsCreatable(Boolean value)
Copy the current immutable object by setting a value for the
isCreatable attribute. |
ImmutableWriteOperationProperty |
withIsDefaultedOnCreate(Boolean value)
Copy the current immutable object by setting a value for the
isDefaultedOnCreate attribute. |
ImmutableWriteOperationProperty |
withIsNullable(Boolean value)
Copy the current immutable object by setting a value for the
isNullable attribute. |
ImmutableWriteOperationProperty |
withIsUpdatable(Boolean value)
Copy the current immutable object by setting a value for the
isUpdatable attribute. |
ImmutableWriteOperationProperty |
withIsUpsertable(Boolean value)
Copy the current immutable object by setting a value for the
isUpsertable attribute. |
ImmutableWriteOperationProperty |
withSupportedWriteOperations(Iterable<? extends WriteOperationType> elements)
Copy the current immutable object with elements that replace the content of
supportedWriteOperations. |
ImmutableWriteOperationProperty |
withSupportedWriteOperations(WriteOperationType... elements)
Copy the current immutable object with elements that replace the content of
supportedWriteOperations. |
@Nullable public Boolean isCreatable()
isCreatable in interface WriteOperationProperty@Nullable public Boolean isUpdatable()
isUpdatable in interface WriteOperationProperty@Nullable public Boolean isNullable()
isNullable in interface WriteOperationProperty@Nullable public Boolean isUpsertable()
isUpsertable in interface WriteOperationProperty@Nullable public Boolean isDefaultedOnCreate()
isDefaultedOnCreate in interface WriteOperationProperty@Nullable public com.google.common.collect.ImmutableList<WriteOperationType> supportedWriteOperations()
supportedWriteOperations in interface WriteOperationPropertypublic final ImmutableWriteOperationProperty withIsCreatable(@Nullable Boolean value)
isCreatable attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isCreatable (can be null)this objectpublic final ImmutableWriteOperationProperty withIsUpdatable(@Nullable Boolean value)
isUpdatable attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isUpdatable (can be null)this objectpublic final ImmutableWriteOperationProperty withIsNullable(@Nullable Boolean value)
isNullable attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isNullable (can be null)this objectpublic final ImmutableWriteOperationProperty withIsUpsertable(@Nullable Boolean value)
isUpsertable attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isUpsertable (can be null)this objectpublic final ImmutableWriteOperationProperty withIsDefaultedOnCreate(@Nullable Boolean value)
isDefaultedOnCreate attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isDefaultedOnCreate (can be null)this objectpublic final ImmutableWriteOperationProperty withSupportedWriteOperations(@Nullable WriteOperationType... elements)
supportedWriteOperations.elements - The elements to setthis objectpublic final ImmutableWriteOperationProperty withSupportedWriteOperations(@Nullable Iterable<? extends WriteOperationType> elements)
supportedWriteOperations.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of supportedWriteOperations elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableWriteOperationProperty that have equal attribute values.public int hashCode()
isCreatable, isUpdatable, isNullable, isUpsertable, isDefaultedOnCreate, supportedWriteOperations.public String toString()
WriteOperationProperty with attribute values.public static ImmutableWriteOperationProperty copyOf(WriteOperationProperty instance)
WriteOperationProperty value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableWriteOperationProperty.Builder builder()
ImmutableWriteOperationProperty.
ImmutableWriteOperationProperty.builder()
.isCreatable(Boolean | null) // nullable isCreatable
.isUpdatable(Boolean | null) // nullable isUpdatable
.isNullable(Boolean | null) // nullable isNullable
.isUpsertable(Boolean | null) // nullable isUpsertable
.isDefaultedOnCreate(Boolean | null) // nullable isDefaultedOnCreate
.supportedWriteOperations(List<com.amazonaws.appflow.custom.connector.model.write.WriteOperationType> | null) // nullable supportedWriteOperations
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.