Class GetKxChangesetResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.finspace.model.FinspaceResponse
-
- software.amazon.awssdk.services.finspace.model.GetKxChangesetResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetKxChangesetResponse.Builder,GetKxChangesetResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetKxChangesetResponse extends FinspaceResponse implements ToCopyableBuilder<GetKxChangesetResponse.Builder,GetKxChangesetResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetKxChangesetResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantactiveFromTimestamp()Beginning time from which the changeset is active.static GetKxChangesetResponse.Builderbuilder()List<ChangeRequest>changeRequests()A list of change request objects that are run in order.StringchangesetId()A unique identifier for the changeset.InstantcreatedTimestamp()The timestamp at which the changeset was created in FinSpace.StringdatabaseName()The name of the kdb database.StringenvironmentId()A unique identifier for the kdb environment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorInfoerrorInfo()Provides details in the event of a failed flow, including the error type and the related error message.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasChangeRequests()For responses, this returns true if the service returned a value for the ChangeRequests property.inthashCode()InstantlastModifiedTimestamp()The timestamp at which the changeset was updated in FinSpace.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetKxChangesetResponse.Builder>serializableBuilderClass()ChangesetStatusstatus()Status of the changeset creation process.StringstatusAsString()Status of the changeset creation process.GetKxChangesetResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.finspace.model.FinspaceResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
changesetId
public final String changesetId()
A unique identifier for the changeset.
- Returns:
- A unique identifier for the changeset.
-
databaseName
public final String databaseName()
The name of the kdb database.
- Returns:
- The name of the kdb database.
-
environmentId
public final String environmentId()
A unique identifier for the kdb environment.
- Returns:
- A unique identifier for the kdb environment.
-
hasChangeRequests
public final boolean hasChangeRequests()
For responses, this returns true if the service returned a value for the ChangeRequests property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
changeRequests
public final List<ChangeRequest> changeRequests()
A list of change request objects that are run in order.
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
hasChangeRequests()method.- Returns:
- A list of change request objects that are run in order.
-
createdTimestamp
public final Instant createdTimestamp()
The timestamp at which the changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
- Returns:
- The timestamp at which the changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
-
activeFromTimestamp
public final Instant activeFromTimestamp()
Beginning time from which the changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
- Returns:
- Beginning time from which the changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
-
lastModifiedTimestamp
public final Instant lastModifiedTimestamp()
The timestamp at which the changeset was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
- Returns:
- The timestamp at which the changeset was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
-
status
public final ChangesetStatus status()
Status of the changeset creation process.
-
Pending – Changeset creation is pending.
-
Processing – Changeset creation is running.
-
Failed – Changeset creation has failed.
-
Complete – Changeset creation has succeeded.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnChangesetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the changeset creation process.
-
Pending – Changeset creation is pending.
-
Processing – Changeset creation is running.
-
Failed – Changeset creation has failed.
-
Complete – Changeset creation has succeeded.
-
- See Also:
ChangesetStatus
-
-
statusAsString
public final String statusAsString()
Status of the changeset creation process.
-
Pending – Changeset creation is pending.
-
Processing – Changeset creation is running.
-
Failed – Changeset creation has failed.
-
Complete – Changeset creation has succeeded.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnChangesetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the changeset creation process.
-
Pending – Changeset creation is pending.
-
Processing – Changeset creation is running.
-
Failed – Changeset creation has failed.
-
Complete – Changeset creation has succeeded.
-
- See Also:
ChangesetStatus
-
-
errorInfo
public final ErrorInfo errorInfo()
Provides details in the event of a failed flow, including the error type and the related error message.
- Returns:
- Provides details in the event of a failed flow, including the error type and the related error message.
-
toBuilder
public GetKxChangesetResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetKxChangesetResponse.Builder,GetKxChangesetResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetKxChangesetResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetKxChangesetResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-