@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRoutingControlStateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateRoutingControlStateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRoutingControlStateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRoutingControlArn()
The Amazon Resource Name (ARN) for the routing control that you want to update the state for.
|
String |
getRoutingControlState()
The state of the routing control.
|
List<String> |
getSafetyRulesToOverride()
The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of
a routing control.
|
int |
hashCode() |
void |
setRoutingControlArn(String routingControlArn)
The Amazon Resource Name (ARN) for the routing control that you want to update the state for.
|
void |
setRoutingControlState(String routingControlState)
The state of the routing control.
|
void |
setSafetyRulesToOverride(Collection<String> safetyRulesToOverride)
The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of
a routing control.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRoutingControlStateRequest |
withRoutingControlArn(String routingControlArn)
The Amazon Resource Name (ARN) for the routing control that you want to update the state for.
|
UpdateRoutingControlStateRequest |
withRoutingControlState(RoutingControlState routingControlState)
The state of the routing control.
|
UpdateRoutingControlStateRequest |
withRoutingControlState(String routingControlState)
The state of the routing control.
|
UpdateRoutingControlStateRequest |
withSafetyRulesToOverride(Collection<String> safetyRulesToOverride)
The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of
a routing control.
|
UpdateRoutingControlStateRequest |
withSafetyRulesToOverride(String... safetyRulesToOverride)
The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of
a routing control.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRoutingControlArn(String routingControlArn)
The Amazon Resource Name (ARN) for the routing control that you want to update the state for.
routingControlArn
- The Amazon Resource Name (ARN) for the routing control that you want to update the state for.public String getRoutingControlArn()
The Amazon Resource Name (ARN) for the routing control that you want to update the state for.
public UpdateRoutingControlStateRequest withRoutingControlArn(String routingControlArn)
The Amazon Resource Name (ARN) for the routing control that you want to update the state for.
routingControlArn
- The Amazon Resource Name (ARN) for the routing control that you want to update the state for.public void setRoutingControlState(String routingControlState)
The state of the routing control. You can set the value to ON or OFF.
routingControlState
- The state of the routing control. You can set the value to ON or OFF.RoutingControlState
public String getRoutingControlState()
The state of the routing control. You can set the value to ON or OFF.
RoutingControlState
public UpdateRoutingControlStateRequest withRoutingControlState(String routingControlState)
The state of the routing control. You can set the value to ON or OFF.
routingControlState
- The state of the routing control. You can set the value to ON or OFF.RoutingControlState
public UpdateRoutingControlStateRequest withRoutingControlState(RoutingControlState routingControlState)
The state of the routing control. You can set the value to ON or OFF.
routingControlState
- The state of the routing control. You can set the value to ON or OFF.RoutingControlState
public List<String> getSafetyRulesToOverride()
The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of a routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated by commas.
For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
public void setSafetyRulesToOverride(Collection<String> safetyRulesToOverride)
The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of a routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated by commas.
For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
safetyRulesToOverride
- The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the
state of a routing control. You can override one safety rule or multiple safety rules by including one or
more ARNs, separated by commas.
For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
public UpdateRoutingControlStateRequest withSafetyRulesToOverride(String... safetyRulesToOverride)
The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of a routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated by commas.
For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
NOTE: This method appends the values to the existing list (if any). Use
setSafetyRulesToOverride(java.util.Collection)
or
withSafetyRulesToOverride(java.util.Collection)
if you want to override the existing values.
safetyRulesToOverride
- The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the
state of a routing control. You can override one safety rule or multiple safety rules by including one or
more ARNs, separated by commas.
For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
public UpdateRoutingControlStateRequest withSafetyRulesToOverride(Collection<String> safetyRulesToOverride)
The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of a routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated by commas.
For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
safetyRulesToOverride
- The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the
state of a routing control. You can override one safety rule or multiple safety rules by including one or
more ARNs, separated by commas.
For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public UpdateRoutingControlStateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()