/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.rds.model; import java.io.Serializable; import javax.annotation.Generated; /** *

* This data type is used as a response element in the DescribeDBClusterBacktracks action. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class BacktrackDBClusterResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster. *

*/ private String dBClusterIdentifier; /** *

* Contains the backtrack identifier. *

*/ private String backtrackIdentifier; /** *

* The timestamp of the time to which the DB cluster was backtracked. *

*/ private java.util.Date backtrackTo; /** *

* The timestamp of the time from which the DB cluster was backtracked. *

*/ private java.util.Date backtrackedFrom; /** *

* The timestamp of the time at which the backtrack was requested. *

*/ private java.util.Date backtrackRequestCreationTime; /** *

* The status of the backtrack. This property returns one of the following values: *

* */ private String status; /** *

* Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster. *

* * @param dBClusterIdentifier * Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB * cluster. */ public void setDBClusterIdentifier(String dBClusterIdentifier) { this.dBClusterIdentifier = dBClusterIdentifier; } /** *

* Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster. *

* * @return Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB * cluster. */ public String getDBClusterIdentifier() { return this.dBClusterIdentifier; } /** *

* Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster. *

* * @param dBClusterIdentifier * Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB * cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public BacktrackDBClusterResult withDBClusterIdentifier(String dBClusterIdentifier) { setDBClusterIdentifier(dBClusterIdentifier); return this; } /** *

* Contains the backtrack identifier. *

* * @param backtrackIdentifier * Contains the backtrack identifier. */ public void setBacktrackIdentifier(String backtrackIdentifier) { this.backtrackIdentifier = backtrackIdentifier; } /** *

* Contains the backtrack identifier. *

* * @return Contains the backtrack identifier. */ public String getBacktrackIdentifier() { return this.backtrackIdentifier; } /** *

* Contains the backtrack identifier. *

* * @param backtrackIdentifier * Contains the backtrack identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public BacktrackDBClusterResult withBacktrackIdentifier(String backtrackIdentifier) { setBacktrackIdentifier(backtrackIdentifier); return this; } /** *

* The timestamp of the time to which the DB cluster was backtracked. *

* * @param backtrackTo * The timestamp of the time to which the DB cluster was backtracked. */ public void setBacktrackTo(java.util.Date backtrackTo) { this.backtrackTo = backtrackTo; } /** *

* The timestamp of the time to which the DB cluster was backtracked. *

* * @return The timestamp of the time to which the DB cluster was backtracked. */ public java.util.Date getBacktrackTo() { return this.backtrackTo; } /** *

* The timestamp of the time to which the DB cluster was backtracked. *

* * @param backtrackTo * The timestamp of the time to which the DB cluster was backtracked. * @return Returns a reference to this object so that method calls can be chained together. */ public BacktrackDBClusterResult withBacktrackTo(java.util.Date backtrackTo) { setBacktrackTo(backtrackTo); return this; } /** *

* The timestamp of the time from which the DB cluster was backtracked. *

* * @param backtrackedFrom * The timestamp of the time from which the DB cluster was backtracked. */ public void setBacktrackedFrom(java.util.Date backtrackedFrom) { this.backtrackedFrom = backtrackedFrom; } /** *

* The timestamp of the time from which the DB cluster was backtracked. *

* * @return The timestamp of the time from which the DB cluster was backtracked. */ public java.util.Date getBacktrackedFrom() { return this.backtrackedFrom; } /** *

* The timestamp of the time from which the DB cluster was backtracked. *

* * @param backtrackedFrom * The timestamp of the time from which the DB cluster was backtracked. * @return Returns a reference to this object so that method calls can be chained together. */ public BacktrackDBClusterResult withBacktrackedFrom(java.util.Date backtrackedFrom) { setBacktrackedFrom(backtrackedFrom); return this; } /** *

* The timestamp of the time at which the backtrack was requested. *

* * @param backtrackRequestCreationTime * The timestamp of the time at which the backtrack was requested. */ public void setBacktrackRequestCreationTime(java.util.Date backtrackRequestCreationTime) { this.backtrackRequestCreationTime = backtrackRequestCreationTime; } /** *

* The timestamp of the time at which the backtrack was requested. *

* * @return The timestamp of the time at which the backtrack was requested. */ public java.util.Date getBacktrackRequestCreationTime() { return this.backtrackRequestCreationTime; } /** *

* The timestamp of the time at which the backtrack was requested. *

* * @param backtrackRequestCreationTime * The timestamp of the time at which the backtrack was requested. * @return Returns a reference to this object so that method calls can be chained together. */ public BacktrackDBClusterResult withBacktrackRequestCreationTime(java.util.Date backtrackRequestCreationTime) { setBacktrackRequestCreationTime(backtrackRequestCreationTime); return this; } /** *

* The status of the backtrack. This property returns one of the following values: *

* * * @param status * The status of the backtrack. This property returns one of the following values:

*