@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePracticeRunConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreatePracticeRunConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
CreatePracticeRunConfigurationResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the resource that you configured the practice run for.
|
String |
getName()
The name of the resource that you configured the practice run for.
|
PracticeRunConfiguration |
getPracticeRunConfiguration()
A practice run configuration for a resource.
|
String |
getZonalAutoshiftStatus()
The status for zonal autoshift for a resource.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the resource that you configured the practice run for.
|
void |
setName(String name)
The name of the resource that you configured the practice run for.
|
void |
setPracticeRunConfiguration(PracticeRunConfiguration practiceRunConfiguration)
A practice run configuration for a resource.
|
void |
setZonalAutoshiftStatus(String zonalAutoshiftStatus)
The status for zonal autoshift for a resource.
|
String |
toString()
Returns a string representation of this object.
|
CreatePracticeRunConfigurationResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the resource that you configured the practice run for.
|
CreatePracticeRunConfigurationResult |
withName(String name)
The name of the resource that you configured the practice run for.
|
CreatePracticeRunConfigurationResult |
withPracticeRunConfiguration(PracticeRunConfiguration practiceRunConfiguration)
A practice run configuration for a resource.
|
CreatePracticeRunConfigurationResult |
withZonalAutoshiftStatus(String zonalAutoshiftStatus)
The status for zonal autoshift for a resource.
|
CreatePracticeRunConfigurationResult |
withZonalAutoshiftStatus(ZonalAutoshiftStatus zonalAutoshiftStatus)
The status for zonal autoshift for a resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public CreatePracticeRunConfigurationResult()
public void setArn(String arn)
The Amazon Resource Name (ARN) of the resource that you configured the practice run for.
arn
- The Amazon Resource Name (ARN) of the resource that you configured the practice run for.public String getArn()
The Amazon Resource Name (ARN) of the resource that you configured the practice run for.
public CreatePracticeRunConfigurationResult withArn(String arn)
The Amazon Resource Name (ARN) of the resource that you configured the practice run for.
arn
- The Amazon Resource Name (ARN) of the resource that you configured the practice run for.public void setName(String name)
The name of the resource that you configured the practice run for.
name
- The name of the resource that you configured the practice run for.public String getName()
The name of the resource that you configured the practice run for.
public CreatePracticeRunConfigurationResult withName(String name)
The name of the resource that you configured the practice run for.
name
- The name of the resource that you configured the practice run for.public void setPracticeRunConfiguration(PracticeRunConfiguration practiceRunConfiguration)
A practice run configuration for a resource. Configurations include the outcome alarm that you specify for practice runs, and, optionally, a blocking alarm and blocking dates and windows.
practiceRunConfiguration
- A practice run configuration for a resource. Configurations include the outcome alarm that you specify for
practice runs, and, optionally, a blocking alarm and blocking dates and windows.public PracticeRunConfiguration getPracticeRunConfiguration()
A practice run configuration for a resource. Configurations include the outcome alarm that you specify for practice runs, and, optionally, a blocking alarm and blocking dates and windows.
public CreatePracticeRunConfigurationResult withPracticeRunConfiguration(PracticeRunConfiguration practiceRunConfiguration)
A practice run configuration for a resource. Configurations include the outcome alarm that you specify for practice runs, and, optionally, a blocking alarm and blocking dates and windows.
practiceRunConfiguration
- A practice run configuration for a resource. Configurations include the outcome alarm that you specify for
practice runs, and, optionally, a blocking alarm and blocking dates and windows.public void setZonalAutoshiftStatus(String zonalAutoshiftStatus)
The status for zonal autoshift for a resource. When you specify ENABLED
for the autoshift status,
Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone,
on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could
potentially impact customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
zonalAutoshiftStatus
- The status for zonal autoshift for a resource. When you specify ENABLED
for the autoshift
status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an
Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone
impairment that could potentially impact customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
ZonalAutoshiftStatus
public String getZonalAutoshiftStatus()
The status for zonal autoshift for a resource. When you specify ENABLED
for the autoshift status,
Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone,
on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could
potentially impact customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
ENABLED
for the autoshift
status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an
Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone
impairment that could potentially impact customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
ZonalAutoshiftStatus
public CreatePracticeRunConfigurationResult withZonalAutoshiftStatus(String zonalAutoshiftStatus)
The status for zonal autoshift for a resource. When you specify ENABLED
for the autoshift status,
Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone,
on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could
potentially impact customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
zonalAutoshiftStatus
- The status for zonal autoshift for a resource. When you specify ENABLED
for the autoshift
status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an
Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone
impairment that could potentially impact customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
ZonalAutoshiftStatus
public CreatePracticeRunConfigurationResult withZonalAutoshiftStatus(ZonalAutoshiftStatus zonalAutoshiftStatus)
The status for zonal autoshift for a resource. When you specify ENABLED
for the autoshift status,
Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone,
on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could
potentially impact customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
zonalAutoshiftStatus
- The status for zonal autoshift for a resource. When you specify ENABLED
for the autoshift
status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an
Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone
impairment that could potentially impact customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
ZonalAutoshiftStatus
public String toString()
toString
in class Object
Object.toString()
public CreatePracticeRunConfigurationResult clone()