@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoshiftSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about an autoshift. Amazon Web Services starts an autoshift to temporarily move traffic for a resource away from an Availability Zone in an Amazon Web Services Region when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers. You can configure zonal autoshift in Route 53 ARC for managed resources in your Amazon Web Services account in a Region. Supported Amazon Web Services resources are automatically registered with Route 53 ARC.
Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and traffic for the resource is no longer directed to the other Availability Zones in the Region.
You can stop an autoshift for a resource by disabling zonal autoshift.
Constructor and Description |
---|
AutoshiftSummary() |
Modifier and Type | Method and Description |
---|---|
AutoshiftSummary |
clone() |
boolean |
equals(Object obj) |
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 |
getEndTime()
The time (in UTC) when the autoshift ended.
|
Date |
getStartTime()
The time (in UTC) when the autoshift started.
|
String |
getStatus()
The status for an autoshift.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setEndTime(Date endTime)
The time (in UTC) when the autoshift ended.
|
void |
setStartTime(Date startTime)
The time (in UTC) when the autoshift started.
|
void |
setStatus(String status)
The status for an autoshift.
|
String |
toString()
Returns a string representation of this object.
|
AutoshiftSummary |
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. |
AutoshiftSummary |
withEndTime(Date endTime)
The time (in UTC) when the autoshift ended.
|
AutoshiftSummary |
withStartTime(Date startTime)
The time (in UTC) when the autoshift started.
|
AutoshiftSummary |
withStatus(AutoshiftExecutionStatus status)
The status for an autoshift.
|
AutoshiftSummary |
withStatus(String status)
The status for an autoshift.
|
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 AutoshiftSummary 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 setEndTime(Date endTime)
The time (in UTC) when the autoshift ended.
endTime
- The time (in UTC) when the autoshift ended.public Date getEndTime()
The time (in UTC) when the autoshift ended.
public AutoshiftSummary withEndTime(Date endTime)
The time (in UTC) when the autoshift ended.
endTime
- The time (in UTC) when the autoshift ended.public void setStartTime(Date startTime)
The time (in UTC) when the autoshift started.
startTime
- The time (in UTC) when the autoshift started.public Date getStartTime()
The time (in UTC) when the autoshift started.
public AutoshiftSummary withStartTime(Date startTime)
The time (in UTC) when the autoshift started.
startTime
- The time (in UTC) when the autoshift started.public void setStatus(String status)
The status for an autoshift.
status
- The status for an autoshift.AutoshiftExecutionStatus
public String getStatus()
The status for an autoshift.
AutoshiftExecutionStatus
public AutoshiftSummary withStatus(String status)
The status for an autoshift.
status
- The status for an autoshift.AutoshiftExecutionStatus
public AutoshiftSummary withStatus(AutoshiftExecutionStatus status)
The status for an autoshift.
status
- The status for an autoshift.AutoshiftExecutionStatus
public String toString()
toString
in class Object
Object.toString()
public AutoshiftSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.