@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkFirewallMissingExpectedRoutesViolation extends Object implements Serializable, Cloneable, StructuredPojo
Violation detail for an expected route missing in Network Firewall.
Constructor and Description |
---|
NetworkFirewallMissingExpectedRoutesViolation() |
Modifier and Type | Method and Description |
---|---|
NetworkFirewallMissingExpectedRoutesViolation |
clone() |
boolean |
equals(Object obj) |
List<ExpectedRoute> |
getExpectedRoutes()
The expected routes.
|
String |
getViolationTarget()
The target of the violation.
|
String |
getVpcId()
Information about the VPC ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExpectedRoutes(Collection<ExpectedRoute> expectedRoutes)
The expected routes.
|
void |
setViolationTarget(String violationTarget)
The target of the violation.
|
void |
setVpcId(String vpcId)
Information about the VPC ID.
|
String |
toString()
Returns a string representation of this object.
|
NetworkFirewallMissingExpectedRoutesViolation |
withExpectedRoutes(Collection<ExpectedRoute> expectedRoutes)
The expected routes.
|
NetworkFirewallMissingExpectedRoutesViolation |
withExpectedRoutes(ExpectedRoute... expectedRoutes)
The expected routes.
|
NetworkFirewallMissingExpectedRoutesViolation |
withViolationTarget(String violationTarget)
The target of the violation.
|
NetworkFirewallMissingExpectedRoutesViolation |
withVpcId(String vpcId)
Information about the VPC ID.
|
public NetworkFirewallMissingExpectedRoutesViolation()
public void setViolationTarget(String violationTarget)
The target of the violation.
violationTarget
- The target of the violation.public String getViolationTarget()
The target of the violation.
public NetworkFirewallMissingExpectedRoutesViolation withViolationTarget(String violationTarget)
The target of the violation.
violationTarget
- The target of the violation.public List<ExpectedRoute> getExpectedRoutes()
The expected routes.
public void setExpectedRoutes(Collection<ExpectedRoute> expectedRoutes)
The expected routes.
expectedRoutes
- The expected routes.public NetworkFirewallMissingExpectedRoutesViolation withExpectedRoutes(ExpectedRoute... expectedRoutes)
The expected routes.
NOTE: This method appends the values to the existing list (if any). Use
setExpectedRoutes(java.util.Collection)
or withExpectedRoutes(java.util.Collection)
if you want
to override the existing values.
expectedRoutes
- The expected routes.public NetworkFirewallMissingExpectedRoutesViolation withExpectedRoutes(Collection<ExpectedRoute> expectedRoutes)
The expected routes.
expectedRoutes
- The expected routes.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 NetworkFirewallMissingExpectedRoutesViolation withVpcId(String vpcId)
Information about the VPC ID.
vpcId
- Information about the VPC ID.public String toString()
toString
in class Object
Object.toString()
public NetworkFirewallMissingExpectedRoutesViolation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.