@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoshiftInResource extends Object implements Serializable, Cloneable, StructuredPojo
A complex structure that lists an autoshift that is currently active for a managed resource and information about the autoshift.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
Constructor and Description |
---|
AutoshiftInResource() |
Modifier and Type | Method and Description |
---|---|
AutoshiftInResource |
clone() |
boolean |
equals(Object obj) |
String |
getAppliedStatus()
The
appliedStatus field specifies which application traffic shift is in effect for a resource when
there is more than one active traffic shift. |
String |
getAwayFrom()
The Availability Zone (for example,
use1-az1 ) that traffic is shifted away from for a resource, when
Amazon Web Services starts an autoshift. |
Date |
getStartTime()
The time (UTC) when the autoshift started.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppliedStatus(String appliedStatus)
The
appliedStatus field specifies which application traffic shift is in effect for a resource when
there is more than one active traffic shift. |
void |
setAwayFrom(String awayFrom)
The Availability Zone (for example,
use1-az1 ) that traffic is shifted away from for a resource, when
Amazon Web Services starts an autoshift. |
void |
setStartTime(Date startTime)
The time (UTC) when the autoshift started.
|
String |
toString()
Returns a string representation of this object.
|
AutoshiftInResource |
withAppliedStatus(AutoshiftAppliedStatus appliedStatus)
The
appliedStatus field specifies which application traffic shift is in effect for a resource when
there is more than one active traffic shift. |
AutoshiftInResource |
withAppliedStatus(String appliedStatus)
The
appliedStatus field specifies which application traffic shift is in effect for a resource when
there is more than one active traffic shift. |
AutoshiftInResource |
withAwayFrom(String awayFrom)
The Availability Zone (for example,
use1-az1 ) that traffic is shifted away from for a resource, when
Amazon Web Services starts an autoshift. |
AutoshiftInResource |
withStartTime(Date startTime)
The time (UTC) when the autoshift started.
|
public void setAppliedStatus(String appliedStatus)
The appliedStatus
field specifies which application traffic shift is in effect for a resource when
there is more than one active traffic shift. There can be more than one application traffic shift in progress at
the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an autoshift. The
appliedStatus
field for a shift that is in progress for a resource can have one of two values:
APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is currently in effect for
the resource has an appliedStatus
set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
appliedStatus
- The appliedStatus
field specifies which application traffic shift is in effect for a resource
when there is more than one active traffic shift. There can be more than one application traffic shift in
progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an
autoshift. The appliedStatus
field for a shift that is in progress for a resource can have
one of two values: APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is
currently in effect for the resource has an appliedStatus
set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
AutoshiftAppliedStatus
public String getAppliedStatus()
The appliedStatus
field specifies which application traffic shift is in effect for a resource when
there is more than one active traffic shift. There can be more than one application traffic shift in progress at
the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an autoshift. The
appliedStatus
field for a shift that is in progress for a resource can have one of two values:
APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is currently in effect for
the resource has an appliedStatus
set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
appliedStatus
field specifies which application traffic shift is in effect for a
resource when there is more than one active traffic shift. There can be more than one application traffic
shift in progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts,
or an autoshift. The appliedStatus
field for a shift that is in progress for a resource can
have one of two values: APPLIED
or NOT_APPLIED
. The zonal shift or autoshift
that is currently in effect for the resource has an appliedStatus
set to
APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
AutoshiftAppliedStatus
public AutoshiftInResource withAppliedStatus(String appliedStatus)
The appliedStatus
field specifies which application traffic shift is in effect for a resource when
there is more than one active traffic shift. There can be more than one application traffic shift in progress at
the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an autoshift. The
appliedStatus
field for a shift that is in progress for a resource can have one of two values:
APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is currently in effect for
the resource has an appliedStatus
set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
appliedStatus
- The appliedStatus
field specifies which application traffic shift is in effect for a resource
when there is more than one active traffic shift. There can be more than one application traffic shift in
progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an
autoshift. The appliedStatus
field for a shift that is in progress for a resource can have
one of two values: APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is
currently in effect for the resource has an appliedStatus
set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
AutoshiftAppliedStatus
public AutoshiftInResource withAppliedStatus(AutoshiftAppliedStatus appliedStatus)
The appliedStatus
field specifies which application traffic shift is in effect for a resource when
there is more than one active traffic shift. There can be more than one application traffic shift in progress at
the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an autoshift. The
appliedStatus
field for a shift that is in progress for a resource can have one of two values:
APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is currently in effect for
the resource has an appliedStatus
set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
appliedStatus
- The appliedStatus
field specifies which application traffic shift is in effect for a resource
when there is more than one active traffic shift. There can be more than one application traffic shift in
progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an
autoshift. The appliedStatus
field for a shift that is in progress for a resource can have
one of two values: APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is
currently in effect for the resource has an appliedStatus
set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
AutoshiftAppliedStatus
public void setAwayFrom(String awayFrom)
The Availability Zone (for example, use1-az1
) that traffic is shifted away from for a resource, when
Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed
to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example,
when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the
resource.
awayFrom
- The Availability Zone (for example, use1-az1
) that traffic is shifted away from for a
resource, when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource
is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end
for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when
you disable zonal autoshift for the resource.public String getAwayFrom()
The Availability Zone (for example, use1-az1
) that traffic is shifted away from for a resource, when
Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed
to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example,
when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the
resource.
use1-az1
) that traffic is shifted away from for a
resource, when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the
resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift
can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability
Zone or when you disable zonal autoshift for the resource.public AutoshiftInResource withAwayFrom(String awayFrom)
The Availability Zone (for example, use1-az1
) that traffic is shifted away from for a resource, when
Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed
to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example,
when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the
resource.
awayFrom
- The Availability Zone (for example, use1-az1
) that traffic is shifted away from for a
resource, when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource
is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end
for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when
you disable zonal autoshift for the resource.public void setStartTime(Date startTime)
The time (UTC) when the autoshift started.
startTime
- The time (UTC) when the autoshift started.public Date getStartTime()
The time (UTC) when the autoshift started.
public AutoshiftInResource withStartTime(Date startTime)
The time (UTC) when the autoshift started.
startTime
- The time (UTC) when the autoshift started.public String toString()
toString
in class Object
Object.toString()
public AutoshiftInResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.