@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 the autoshift status as ENABLED
,
Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone,
on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could
potentially affect 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 the autoshift status as
ENABLED
, Amazon Web Services shifts traffic away from shifts away application resource
traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an
issue in the Availability Zone that could potentially affect 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 the autoshift status as ENABLED
,
Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone,
on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could
potentially affect customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
ENABLED
, Amazon Web Services shifts traffic away from shifts away application resource
traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an
issue in the Availability Zone that could potentially affect 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 the autoshift status as ENABLED
,
Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone,
on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could
potentially affect 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 the autoshift status as
ENABLED
, Amazon Web Services shifts traffic away from shifts away application resource
traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an
issue in the Availability Zone that could potentially affect 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 the autoshift status as ENABLED
,
Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone,
on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could
potentially affect 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 the autoshift status as
ENABLED
, Amazon Web Services shifts traffic away from shifts away application resource
traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an
issue in the Availability Zone that could potentially affect 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()