AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

BacktrackDBClusterInput

import "github.com/aws/aws-sdk-go/service/rds"

type BacktrackDBClusterInput struct { BacktrackTo *time.Time `type:"timestamp" required:"true"` DBClusterIdentifier *string `type:"string" required:"true"` Force *bool `type:"boolean"` UseEarliestTimeOnPointInTimeUnavailable *bool `type:"boolean"` }

BacktrackTo

Type: *time.Time

The timestamp of the time to backtrack the DB cluster to, specified in ISO 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page. (http://en.wikipedia.org/wiki/ISO_8601)

If the specified time is not a consistent time for the DB cluster, Aurora automatically chooses the nearest possible consistent time for the DB cluster.

Constraints:

  • Must contain a valid ISO 8601 timestamp.

  • Can't contain a timestamp set in the future.

Example: 2017-07-08T18:00Z

BacktrackTo is a required field

DBClusterIdentifier

Type: *string

The DB cluster identifier of the DB cluster to be backtracked. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Can't end with a hyphen or contain two consecutive hyphens.

Example: my-cluster1

DBClusterIdentifier is a required field

Force

Type: *bool

A value that, if specified, forces the DB cluster to backtrack when binary logging is enabled. Otherwise, an error occurs when binary logging is enabled.

UseEarliestTimeOnPointInTimeUnavailable

Type: *bool

If BacktrackTo is set to a timestamp earlier than the earliest backtrack time, this value backtracks the DB cluster to the earliest possible backtrack time. Otherwise, an error occurs.

Method

GoString

func (s BacktrackDBClusterInput) GoString() string

GoString returns the string representation

SetBacktrackTo

func (s *BacktrackDBClusterInput) SetBacktrackTo(v time.Time) *BacktrackDBClusterInput

SetBacktrackTo sets the BacktrackTo field's value.

SetDBClusterIdentifier

func (s *BacktrackDBClusterInput) SetDBClusterIdentifier(v string) *BacktrackDBClusterInput

SetDBClusterIdentifier sets the DBClusterIdentifier field's value.

SetForce

func (s *BacktrackDBClusterInput) SetForce(v bool) *BacktrackDBClusterInput

SetForce sets the Force field's value.

SetUseEarliestTimeOnPointInTimeUnavailable

func (s *BacktrackDBClusterInput) SetUseEarliestTimeOnPointInTimeUnavailable(v bool) *BacktrackDBClusterInput

SetUseEarliestTimeOnPointInTimeUnavailable sets the UseEarliestTimeOnPointInTimeUnavailable field's value.

String

func (s BacktrackDBClusterInput) String() string

String returns the string representation

Validate

func (s *BacktrackDBClusterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: