@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2CopyRouteTableAction extends Object implements Serializable, Cloneable, StructuredPojo
An action that copies the EC2 route table for use in remediation.
Constructor and Description |
---|
EC2CopyRouteTableAction() |
Modifier and Type | Method and Description |
---|---|
EC2CopyRouteTableAction |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the copied EC2 route table that is associated with the remediation action.
|
ActionTarget |
getRouteTableId()
The ID of the copied EC2 route table that is associated with the remediation action.
|
ActionTarget |
getVpcId()
The VPC ID of the copied 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 copied EC2 route table that is associated with the remediation action.
|
void |
setRouteTableId(ActionTarget routeTableId)
The ID of the copied EC2 route table that is associated with the remediation action.
|
void |
setVpcId(ActionTarget vpcId)
The VPC ID of the copied EC2 route table that is associated with the remediation action.
|
String |
toString()
Returns a string representation of this object.
|
EC2CopyRouteTableAction |
withDescription(String description)
A description of the copied EC2 route table that is associated with the remediation action.
|
EC2CopyRouteTableAction |
withRouteTableId(ActionTarget routeTableId)
The ID of the copied EC2 route table that is associated with the remediation action.
|
EC2CopyRouteTableAction |
withVpcId(ActionTarget vpcId)
The VPC ID of the copied EC2 route table that is associated with the remediation action.
|
public void setDescription(String description)
A description of the copied EC2 route table that is associated with the remediation action.
description
- A description of the copied EC2 route table that is associated with the remediation action.public String getDescription()
A description of the copied EC2 route table that is associated with the remediation action.
public EC2CopyRouteTableAction withDescription(String description)
A description of the copied EC2 route table that is associated with the remediation action.
description
- A description of the copied EC2 route table that is associated with the remediation action.public void setVpcId(ActionTarget vpcId)
The VPC ID of the copied EC2 route table that is associated with the remediation action.
vpcId
- The VPC ID of the copied EC2 route table that is associated with the remediation action.public ActionTarget getVpcId()
The VPC ID of the copied EC2 route table that is associated with the remediation action.
public EC2CopyRouteTableAction withVpcId(ActionTarget vpcId)
The VPC ID of the copied EC2 route table that is associated with the remediation action.
vpcId
- The VPC ID of the copied EC2 route table that is associated with the remediation action.public void setRouteTableId(ActionTarget routeTableId)
The ID of the copied EC2 route table that is associated with the remediation action.
routeTableId
- The ID of the copied EC2 route table that is associated with the remediation action.public ActionTarget getRouteTableId()
The ID of the copied EC2 route table that is associated with the remediation action.
public EC2CopyRouteTableAction withRouteTableId(ActionTarget routeTableId)
The ID of the copied EC2 route table that is associated with the remediation action.
routeTableId
- The ID of the copied EC2 route table that is associated with the remediation action.public String toString()
toString
in class Object
Object.toString()
public EC2CopyRouteTableAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.