@Generated(value="software.amazon.awssdk:codegen") public final class ChangesetInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChangesetInfo.Builder,ChangesetInfo>
A changeset is unit of data in a dataset.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChangesetInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChangesetInfo.Builder |
builder() |
String |
changesetArn()
The ARN identifier of the changeset.
|
Map<String,String> |
changesetLabels()
Tags associated with the changeset.
|
ChangeType |
changeType()
Change type indicates how a changeset is applied to a dataset.
|
String |
changeTypeAsString()
Change type indicates how a changeset is applied to a dataset.
|
Instant |
createTimestamp()
The timestamp at which the changeset was created in FinSpace.
|
String |
datasetId()
The unique identifier for the FinSpace dataset in which the changeset is created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorInfo |
errorInfo()
The structure with error messages.
|
Map<String,String> |
formatParams()
Structure of the source file(s).
|
FormatType |
formatType()
Format type of the input files loaded into the changeset.
|
String |
formatTypeAsString()
Format type of the input files loaded into the changeset.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasChangesetLabels()
For responses, this returns true if the service returned a value for the ChangesetLabels property.
|
boolean |
hasFormatParams()
For responses, this returns true if the service returned a value for the FormatParams property.
|
int |
hashCode() |
boolean |
hasSourceParams()
For responses, this returns true if the service returned a value for the SourceParams property.
|
String |
id()
Unique identifier for a changeset.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChangesetInfo.Builder> |
serializableBuilderClass() |
Map<String,String> |
sourceParams()
Source path from which the files to create the changeset are sourced.
|
SourceType |
sourceType()
Type of the data source from which the files to create the changeset are sourced.
|
String |
sourceTypeAsString()
Type of the data source from which the files to create the changeset are sourced.
|
ChangesetStatus |
status()
The status of changeset creation operation.
|
String |
statusAsString()
The status of changeset creation operation.
|
ChangesetInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
updatedByChangesetId()
Unique identifier of the changeset that is updated a changeset.
|
String |
updatesChangesetId()
Unique identifier of the changeset that is updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
Unique identifier for a changeset.
public final String changesetArn()
The ARN identifier of the changeset.
public final String datasetId()
The unique identifier for the FinSpace dataset in which the changeset is created.
public final ChangeType changeType()
Change type indicates how a changeset is applied to a dataset.
REPLACE - Changeset is considered as a replacement to all prior loaded changesets.
APPEND - Changeset is considered as an addition to the end of all prior loaded changesets.
MODIFY - Changeset is considered as a replacement to a specific prior ingested changeset.
If the service returns an enum value that is not available in the current SDK version, changeType will
return ChangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
changeTypeAsString().
REPLACE - Changeset is considered as a replacement to all prior loaded changesets.
APPEND - Changeset is considered as an addition to the end of all prior loaded changesets.
MODIFY - Changeset is considered as a replacement to a specific prior ingested changeset.
ChangeTypepublic final String changeTypeAsString()
Change type indicates how a changeset is applied to a dataset.
REPLACE - Changeset is considered as a replacement to all prior loaded changesets.
APPEND - Changeset is considered as an addition to the end of all prior loaded changesets.
MODIFY - Changeset is considered as a replacement to a specific prior ingested changeset.
If the service returns an enum value that is not available in the current SDK version, changeType will
return ChangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
changeTypeAsString().
REPLACE - Changeset is considered as a replacement to all prior loaded changesets.
APPEND - Changeset is considered as an addition to the end of all prior loaded changesets.
MODIFY - Changeset is considered as a replacement to a specific prior ingested changeset.
ChangeTypepublic final SourceType sourceType()
Type of the data source from which the files to create the changeset are sourced.
S3 - Amazon S3.
If the service returns an enum value that is not available in the current SDK version, sourceType will
return SourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceTypeAsString().
S3 - Amazon S3.
SourceTypepublic final String sourceTypeAsString()
Type of the data source from which the files to create the changeset are sourced.
S3 - Amazon S3.
If the service returns an enum value that is not available in the current SDK version, sourceType will
return SourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceTypeAsString().
S3 - Amazon S3.
SourceTypepublic final boolean hasSourceParams()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> sourceParams()
Source path from which the files to create the changeset are sourced.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSourceParams() method.
public final FormatType formatType()
Format type of the input files loaded into the changeset.
If the service returns an enum value that is not available in the current SDK version, formatType will
return FormatType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatTypeAsString().
FormatTypepublic final String formatTypeAsString()
Format type of the input files loaded into the changeset.
If the service returns an enum value that is not available in the current SDK version, formatType will
return FormatType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatTypeAsString().
FormatTypepublic final boolean hasFormatParams()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> formatParams()
Structure of the source file(s).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFormatParams() method.
public final Instant createTimestamp()
The timestamp at which the changeset was created in FinSpace.
public final ChangesetStatus status()
The status of changeset creation operation.
If the service returns an enum value that is not available in the current SDK version, status will
return ChangesetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ChangesetStatuspublic final String statusAsString()
The status of changeset creation operation.
If the service returns an enum value that is not available in the current SDK version, status will
return ChangesetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ChangesetStatuspublic final ErrorInfo errorInfo()
The structure with error messages.
public final boolean hasChangesetLabels()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> changesetLabels()
Tags associated with the changeset.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasChangesetLabels() method.
public final String updatesChangesetId()
Unique identifier of the changeset that is updated.
public final String updatedByChangesetId()
Unique identifier of the changeset that is updated a changeset.
public ChangesetInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ChangesetInfo.Builder,ChangesetInfo>public static ChangesetInfo.Builder builder()
public static Class<? extends ChangesetInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.