@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkFirewallPolicyModifiedViolation extends Object implements Serializable, Cloneable, StructuredPojo
Violation detail for Network Firewall for a firewall policy that has a different NetworkFirewallPolicyDescription than is required by the Firewall Manager policy.
Constructor and Description |
---|
NetworkFirewallPolicyModifiedViolation() |
Modifier and Type | Method and Description |
---|---|
NetworkFirewallPolicyModifiedViolation |
clone() |
boolean |
equals(Object obj) |
NetworkFirewallPolicyDescription |
getCurrentPolicyDescription()
The policy that's currently in use in the individual account.
|
NetworkFirewallPolicyDescription |
getExpectedPolicyDescription()
The policy that should be in use in the individual account in order to be compliant.
|
String |
getViolationTarget()
The ID of the Network Firewall or VPC resource that's in violation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrentPolicyDescription(NetworkFirewallPolicyDescription currentPolicyDescription)
The policy that's currently in use in the individual account.
|
void |
setExpectedPolicyDescription(NetworkFirewallPolicyDescription expectedPolicyDescription)
The policy that should be in use in the individual account in order to be compliant.
|
void |
setViolationTarget(String violationTarget)
The ID of the Network Firewall or VPC resource that's in violation.
|
String |
toString()
Returns a string representation of this object.
|
NetworkFirewallPolicyModifiedViolation |
withCurrentPolicyDescription(NetworkFirewallPolicyDescription currentPolicyDescription)
The policy that's currently in use in the individual account.
|
NetworkFirewallPolicyModifiedViolation |
withExpectedPolicyDescription(NetworkFirewallPolicyDescription expectedPolicyDescription)
The policy that should be in use in the individual account in order to be compliant.
|
NetworkFirewallPolicyModifiedViolation |
withViolationTarget(String violationTarget)
The ID of the Network Firewall or VPC resource that's in violation.
|
public NetworkFirewallPolicyModifiedViolation()
public void setViolationTarget(String violationTarget)
The ID of the Network Firewall or VPC resource that's in violation.
violationTarget
- The ID of the Network Firewall or VPC resource that's in violation.public String getViolationTarget()
The ID of the Network Firewall or VPC resource that's in violation.
public NetworkFirewallPolicyModifiedViolation withViolationTarget(String violationTarget)
The ID of the Network Firewall or VPC resource that's in violation.
violationTarget
- The ID of the Network Firewall or VPC resource that's in violation.public void setCurrentPolicyDescription(NetworkFirewallPolicyDescription currentPolicyDescription)
The policy that's currently in use in the individual account.
currentPolicyDescription
- The policy that's currently in use in the individual account.public NetworkFirewallPolicyDescription getCurrentPolicyDescription()
The policy that's currently in use in the individual account.
public NetworkFirewallPolicyModifiedViolation withCurrentPolicyDescription(NetworkFirewallPolicyDescription currentPolicyDescription)
The policy that's currently in use in the individual account.
currentPolicyDescription
- The policy that's currently in use in the individual account.public void setExpectedPolicyDescription(NetworkFirewallPolicyDescription expectedPolicyDescription)
The policy that should be in use in the individual account in order to be compliant.
expectedPolicyDescription
- The policy that should be in use in the individual account in order to be compliant.public NetworkFirewallPolicyDescription getExpectedPolicyDescription()
The policy that should be in use in the individual account in order to be compliant.
public NetworkFirewallPolicyModifiedViolation withExpectedPolicyDescription(NetworkFirewallPolicyDescription expectedPolicyDescription)
The policy that should be in use in the individual account in order to be compliant.
expectedPolicyDescription
- The policy that should be in use in the individual account in order to be compliant.public String toString()
toString
in class Object
Object.toString()
public NetworkFirewallPolicyModifiedViolation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.