@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RoutingControl extends Object implements Serializable, Cloneable, StructuredPojo
A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.
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 that includes the routing control.
|
String |
getName()
The name of the routing control.
|
String |
getOwner()
The Amazon Web Services account ID of the routing control owner.
|
String |
getRoutingControlArn()
The Amazon Resource Name (ARN) of the routing control.
|
String |
getStatus()
The deployment status of a 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 that includes the routing control.
|
void |
setName(String name)
The name of the routing control.
|
void |
setOwner(String owner)
The Amazon Web Services account ID of the routing control owner.
|
void |
setRoutingControlArn(String routingControlArn)
The Amazon Resource Name (ARN) of the routing control.
|
void |
setStatus(String status)
The deployment status of a routing control.
|
String |
toString()
Returns a string representation of this object.
|
RoutingControl |
withControlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel that includes the routing control.
|
RoutingControl |
withName(String name)
The name of the routing control.
|
RoutingControl |
withOwner(String owner)
The Amazon Web Services account ID of the routing control owner.
|
RoutingControl |
withRoutingControlArn(String routingControlArn)
The Amazon Resource Name (ARN) of the routing control.
|
RoutingControl |
withStatus(Status status)
The deployment status of a routing control.
|
RoutingControl |
withStatus(String status)
The deployment status of a routing control.
|
public void setControlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel that includes the routing control.
controlPanelArn
- The Amazon Resource Name (ARN) of the control panel that includes the routing control.public String getControlPanelArn()
The Amazon Resource Name (ARN) of the control panel that includes the routing control.
public RoutingControl withControlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel that includes the routing control.
controlPanelArn
- The Amazon Resource Name (ARN) of the control panel that includes the routing control.public void setName(String name)
The name of the routing control.
name
- The name of the routing control.public String getName()
The name of the routing control.
public RoutingControl withName(String name)
The name of the routing control.
name
- The name of the routing control.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 setStatus(String status)
The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
status
- The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED,
PENDING_DELETION.Status
public String getStatus()
The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
Status
public RoutingControl withStatus(String status)
The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
status
- The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED,
PENDING_DELETION.Status
public RoutingControl withStatus(Status status)
The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
status
- The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED,
PENDING_DELETION.Status
public void setOwner(String owner)
The Amazon Web Services account ID of the routing control owner.
owner
- The Amazon Web Services account ID of the routing control owner.public String getOwner()
The Amazon Web Services account ID of the routing control owner.
public RoutingControl withOwner(String owner)
The Amazon Web Services account ID of the routing control owner.
owner
- The Amazon Web Services account ID of the routing control owner.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.