@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2AssociateRouteTableAction extends Object implements Serializable, Cloneable, StructuredPojo
The action of associating an EC2 resource, such as a subnet or internet gateway, with a route table.
Constructor and Description |
---|
EC2AssociateRouteTableAction() |
Modifier and Type | Method and Description |
---|---|
EC2AssociateRouteTableAction |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the EC2 route table that is associated with the remediation action.
|
ActionTarget |
getGatewayId()
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
|
ActionTarget |
getRouteTableId()
The ID of the EC2 route table that is associated with the remediation action.
|
ActionTarget |
getSubnetId()
The ID of the subnet for the EC2 route table that is associated with the remediation action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A description of the EC2 route table that is associated with the remediation action.
|
void |
setGatewayId(ActionTarget gatewayId)
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
|
void |
setRouteTableId(ActionTarget routeTableId)
The ID of the EC2 route table that is associated with the remediation action.
|
void |
setSubnetId(ActionTarget subnetId)
The ID of the subnet for the EC2 route table that is associated with the remediation action.
|
String |
toString()
Returns a string representation of this object.
|
EC2AssociateRouteTableAction |
withDescription(String description)
A description of the EC2 route table that is associated with the remediation action.
|
EC2AssociateRouteTableAction |
withGatewayId(ActionTarget gatewayId)
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
|
EC2AssociateRouteTableAction |
withRouteTableId(ActionTarget routeTableId)
The ID of the EC2 route table that is associated with the remediation action.
|
EC2AssociateRouteTableAction |
withSubnetId(ActionTarget subnetId)
The ID of the subnet for the EC2 route table that is associated with the remediation action.
|
public void setDescription(String description)
A description of the EC2 route table that is associated with the remediation action.
description
- A description of the EC2 route table that is associated with the remediation action.public String getDescription()
A description of the EC2 route table that is associated with the remediation action.
public EC2AssociateRouteTableAction withDescription(String description)
A description of the EC2 route table that is associated with the remediation action.
description
- A description of the EC2 route table that is associated with the remediation action.public void setRouteTableId(ActionTarget routeTableId)
The ID of the EC2 route table that is associated with the remediation action.
routeTableId
- The ID of the EC2 route table that is associated with the remediation action.public ActionTarget getRouteTableId()
The ID of the EC2 route table that is associated with the remediation action.
public EC2AssociateRouteTableAction withRouteTableId(ActionTarget routeTableId)
The ID of the EC2 route table that is associated with the remediation action.
routeTableId
- The ID of the EC2 route table that is associated with the remediation action.public void setSubnetId(ActionTarget subnetId)
The ID of the subnet for the EC2 route table that is associated with the remediation action.
subnetId
- The ID of the subnet for the EC2 route table that is associated with the remediation action.public ActionTarget getSubnetId()
The ID of the subnet for the EC2 route table that is associated with the remediation action.
public EC2AssociateRouteTableAction withSubnetId(ActionTarget subnetId)
The ID of the subnet for the EC2 route table that is associated with the remediation action.
subnetId
- The ID of the subnet for the EC2 route table that is associated with the remediation action.public void setGatewayId(ActionTarget gatewayId)
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
gatewayId
- The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.public ActionTarget getGatewayId()
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
public EC2AssociateRouteTableAction withGatewayId(ActionTarget gatewayId)
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
gatewayId
- The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.public String toString()
toString
in class Object
Object.toString()
public EC2AssociateRouteTableAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.