@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RoutingControl extends Object implements Serializable, Cloneable, StructuredPojo
A routing control, which is a simple on/off switch that you can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.
Constructor and Description |
---|
RoutingControl() |
Modifier and Type | Method and Description |
---|---|
RoutingControl |
clone() |
boolean |
equals(Object obj) |
String |
getControlPanelArn()
The Amazon Resource Name (ARN) of the control panel where the routing control is located.
|
String |
getControlPanelName()
The name of the control panel where the routing control is located.
|
String |
getRoutingControlArn()
The Amazon Resource Name (ARN) of the routing control.
|
String |
getRoutingControlName()
The name of the routing control.
|
String |
getRoutingControlState()
The current state of the routing control.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setControlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel where the routing control is located.
|
void |
setControlPanelName(String controlPanelName)
The name of the control panel where the routing control is located.
|
void |
setRoutingControlArn(String routingControlArn)
The Amazon Resource Name (ARN) of the routing control.
|
void |
setRoutingControlName(String routingControlName)
The name of the routing control.
|
void |
setRoutingControlState(String routingControlState)
The current state of the routing control.
|
String |
toString()
Returns a string representation of this object.
|
RoutingControl |
withControlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel where the routing control is located.
|
RoutingControl |
withControlPanelName(String controlPanelName)
The name of the control panel where the routing control is located.
|
RoutingControl |
withRoutingControlArn(String routingControlArn)
The Amazon Resource Name (ARN) of the routing control.
|
RoutingControl |
withRoutingControlName(String routingControlName)
The name of the routing control.
|
RoutingControl |
withRoutingControlState(RoutingControlState routingControlState)
The current state of the routing control.
|
RoutingControl |
withRoutingControlState(String routingControlState)
The current state of the routing control.
|
public void setControlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel where the routing control is located.
controlPanelArn
- The Amazon Resource Name (ARN) of the control panel where the routing control is located.public String getControlPanelArn()
The Amazon Resource Name (ARN) of the control panel where the routing control is located.
public RoutingControl withControlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel where the routing control is located.
controlPanelArn
- The Amazon Resource Name (ARN) of the control panel where the routing control is located.public void setControlPanelName(String controlPanelName)
The name of the control panel where the routing control is located.
controlPanelName
- The name of the control panel where the routing control is located.public String getControlPanelName()
The name of the control panel where the routing control is located.
public RoutingControl withControlPanelName(String controlPanelName)
The name of the control panel where the routing control is located.
controlPanelName
- The name of the control panel where the routing control is located.public void setRoutingControlArn(String routingControlArn)
The Amazon Resource Name (ARN) of the routing control.
routingControlArn
- The Amazon Resource Name (ARN) of the routing control.public String getRoutingControlArn()
The Amazon Resource Name (ARN) of the routing control.
public RoutingControl withRoutingControlArn(String routingControlArn)
The Amazon Resource Name (ARN) of the routing control.
routingControlArn
- The Amazon Resource Name (ARN) of the routing control.public void setRoutingControlName(String routingControlName)
The name of the routing control.
routingControlName
- The name of the routing control.public String getRoutingControlName()
The name of the routing control.
public RoutingControl withRoutingControlName(String routingControlName)
The name of the routing control.
routingControlName
- The name of the routing control.public void setRoutingControlState(String routingControlState)
The current state of the routing control. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.
routingControlState
- The current state of the routing control. When a routing control state is On, traffic flows to a cell.
When the state is Off, traffic does not flow.RoutingControlState
public String getRoutingControlState()
The current state of the routing control. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.
RoutingControlState
public RoutingControl withRoutingControlState(String routingControlState)
The current state of the routing control. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.
routingControlState
- The current state of the routing control. When a routing control state is On, traffic flows to a cell.
When the state is Off, traffic does not flow.RoutingControlState
public RoutingControl withRoutingControlState(RoutingControlState routingControlState)
The current state of the routing control. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.
routingControlState
- The current state of the routing control. When a routing control state is On, traffic flows to a cell.
When the state is Off, traffic does not flow.RoutingControlState
public String toString()
toString
in class Object
Object.toString()
public RoutingControl clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.