Class BacktrackDbClusterResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.rds.model.RdsResponse
-
- software.amazon.awssdk.services.rds.model.BacktrackDbClusterResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<BacktrackDbClusterResponse.Builder,BacktrackDbClusterResponse>
@Generated("software.amazon.awssdk:codegen") public final class BacktrackDbClusterResponse extends RdsResponse implements ToCopyableBuilder<BacktrackDbClusterResponse.Builder,BacktrackDbClusterResponse>
This data type is used as a response element in the
DescribeDBClusterBacktracksaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBacktrackDbClusterResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantbacktrackedFrom()The timestamp of the time from which the DB cluster was backtracked.StringbacktrackIdentifier()Contains the backtrack identifier.InstantbacktrackRequestCreationTime()The timestamp of the time at which the backtrack was requested.InstantbacktrackTo()The timestamp of the time to which the DB cluster was backtracked.static BacktrackDbClusterResponse.Builderbuilder()StringdbClusterIdentifier()Contains a user-supplied DB cluster identifier.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends BacktrackDbClusterResponse.Builder>serializableBuilderClass()Stringstatus()The status of the backtrack.BacktrackDbClusterResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.rds.model.RdsResponse
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
-
dbClusterIdentifier
public final String dbClusterIdentifier()
Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
- Returns:
- Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
-
backtrackIdentifier
public final String backtrackIdentifier()
Contains the backtrack identifier.
- Returns:
- Contains the backtrack identifier.
-
backtrackTo
public final Instant backtrackTo()
The timestamp of the time to which the DB cluster was backtracked.
- Returns:
- The timestamp of the time to which the DB cluster was backtracked.
-
backtrackedFrom
public final Instant backtrackedFrom()
The timestamp of the time from which the DB cluster was backtracked.
- Returns:
- The timestamp of the time from which the DB cluster was backtracked.
-
backtrackRequestCreationTime
public final Instant backtrackRequestCreationTime()
The timestamp of the time at which the backtrack was requested.
- Returns:
- The timestamp of the time at which the backtrack was requested.
-
status
public final String status()
The status of the backtrack. This property returns one of the following values:
-
applying- The backtrack is currently being applied to or rolled back from the DB cluster. -
completed- The backtrack has successfully been applied to or rolled back from the DB cluster. -
failed- An error occurred while the backtrack was applied to or rolled back from the DB cluster. -
pending- The backtrack is currently pending application to or rollback from the DB cluster.
- Returns:
- The status of the backtrack. This property returns one of the following values:
-
applying- The backtrack is currently being applied to or rolled back from the DB cluster. -
completed- The backtrack has successfully been applied to or rolled back from the DB cluster. -
failed- An error occurred while the backtrack was applied to or rolled back from the DB cluster. -
pending- The backtrack is currently pending application to or rollback from the DB cluster.
-
-
-
toBuilder
public BacktrackDbClusterResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BacktrackDbClusterResponse.Builder,BacktrackDbClusterResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static BacktrackDbClusterResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends BacktrackDbClusterResponse.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
-
-