@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkFirewallBlackHoleRouteDetectedViolation extends Object implements Serializable, Cloneable, StructuredPojo
Violation detail for an internet gateway route with an inactive state in the customer subnet route table or Network Firewall subnet route table.
Constructor and Description |
---|
NetworkFirewallBlackHoleRouteDetectedViolation() |
Modifier and Type | Method and Description |
---|---|
NetworkFirewallBlackHoleRouteDetectedViolation |
clone() |
boolean |
equals(Object obj) |
String |
getRouteTableId()
Information about the route table ID.
|
List<Route> |
getViolatingRoutes()
Information about the route or routes that are in violation.
|
String |
getViolationTarget()
The subnet that has an inactive state.
|
String |
getVpcId()
Information about the VPC ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRouteTableId(String routeTableId)
Information about the route table ID.
|
void |
setViolatingRoutes(Collection<Route> violatingRoutes)
Information about the route or routes that are in violation.
|
void |
setViolationTarget(String violationTarget)
The subnet that has an inactive state.
|
void |
setVpcId(String vpcId)
Information about the VPC ID.
|
String |
toString()
Returns a string representation of this object.
|
NetworkFirewallBlackHoleRouteDetectedViolation |
withRouteTableId(String routeTableId)
Information about the route table ID.
|
NetworkFirewallBlackHoleRouteDetectedViolation |
withViolatingRoutes(Collection<Route> violatingRoutes)
Information about the route or routes that are in violation.
|
NetworkFirewallBlackHoleRouteDetectedViolation |
withViolatingRoutes(Route... violatingRoutes)
Information about the route or routes that are in violation.
|
NetworkFirewallBlackHoleRouteDetectedViolation |
withViolationTarget(String violationTarget)
The subnet that has an inactive state.
|
NetworkFirewallBlackHoleRouteDetectedViolation |
withVpcId(String vpcId)
Information about the VPC ID.
|
public NetworkFirewallBlackHoleRouteDetectedViolation()
public void setViolationTarget(String violationTarget)
The subnet that has an inactive state.
violationTarget
- The subnet that has an inactive state.public String getViolationTarget()
The subnet that has an inactive state.
public NetworkFirewallBlackHoleRouteDetectedViolation withViolationTarget(String violationTarget)
The subnet that has an inactive state.
violationTarget
- The subnet that has an inactive state.public void setRouteTableId(String routeTableId)
Information about the route table ID.
routeTableId
- Information about the route table ID.public String getRouteTableId()
Information about the route table ID.
public NetworkFirewallBlackHoleRouteDetectedViolation withRouteTableId(String routeTableId)
Information about the route table ID.
routeTableId
- Information about the route table ID.public void setVpcId(String vpcId)
Information about the VPC ID.
vpcId
- Information about the VPC ID.public String getVpcId()
Information about the VPC ID.
public NetworkFirewallBlackHoleRouteDetectedViolation withVpcId(String vpcId)
Information about the VPC ID.
vpcId
- Information about the VPC ID.public List<Route> getViolatingRoutes()
Information about the route or routes that are in violation.
public void setViolatingRoutes(Collection<Route> violatingRoutes)
Information about the route or routes that are in violation.
violatingRoutes
- Information about the route or routes that are in violation.public NetworkFirewallBlackHoleRouteDetectedViolation withViolatingRoutes(Route... violatingRoutes)
Information about the route or routes that are in violation.
NOTE: This method appends the values to the existing list (if any). Use
setViolatingRoutes(java.util.Collection)
or withViolatingRoutes(java.util.Collection)
if you
want to override the existing values.
violatingRoutes
- Information about the route or routes that are in violation.public NetworkFirewallBlackHoleRouteDetectedViolation withViolatingRoutes(Collection<Route> violatingRoutes)
Information about the route or routes that are in violation.
violatingRoutes
- Information about the route or routes that are in violation.public String toString()
toString
in class Object
Object.toString()
public NetworkFirewallBlackHoleRouteDetectedViolation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.