@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyOption extends Object implements Serializable, Cloneable, StructuredPojo
Contains the settings to configure a network ACL policy, a Network Firewall firewall policy deployment model, or a third-party firewall policy.
Constructor and Description |
---|
PolicyOption() |
Modifier and Type | Method and Description |
---|---|
PolicyOption |
clone() |
boolean |
equals(Object obj) |
NetworkAclCommonPolicy |
getNetworkAclCommonPolicy()
Defines a Firewall Manager network ACL policy.
|
NetworkFirewallPolicy |
getNetworkFirewallPolicy()
Defines the deployment model to use for the firewall policy.
|
ThirdPartyFirewallPolicy |
getThirdPartyFirewallPolicy()
Defines the policy options for a third-party firewall policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNetworkAclCommonPolicy(NetworkAclCommonPolicy networkAclCommonPolicy)
Defines a Firewall Manager network ACL policy.
|
void |
setNetworkFirewallPolicy(NetworkFirewallPolicy networkFirewallPolicy)
Defines the deployment model to use for the firewall policy.
|
void |
setThirdPartyFirewallPolicy(ThirdPartyFirewallPolicy thirdPartyFirewallPolicy)
Defines the policy options for a third-party firewall policy.
|
String |
toString()
Returns a string representation of this object.
|
PolicyOption |
withNetworkAclCommonPolicy(NetworkAclCommonPolicy networkAclCommonPolicy)
Defines a Firewall Manager network ACL policy.
|
PolicyOption |
withNetworkFirewallPolicy(NetworkFirewallPolicy networkFirewallPolicy)
Defines the deployment model to use for the firewall policy.
|
PolicyOption |
withThirdPartyFirewallPolicy(ThirdPartyFirewallPolicy thirdPartyFirewallPolicy)
Defines the policy options for a third-party firewall policy.
|
public void setNetworkFirewallPolicy(NetworkFirewallPolicy networkFirewallPolicy)
Defines the deployment model to use for the firewall policy.
networkFirewallPolicy
- Defines the deployment model to use for the firewall policy.public NetworkFirewallPolicy getNetworkFirewallPolicy()
Defines the deployment model to use for the firewall policy.
public PolicyOption withNetworkFirewallPolicy(NetworkFirewallPolicy networkFirewallPolicy)
Defines the deployment model to use for the firewall policy.
networkFirewallPolicy
- Defines the deployment model to use for the firewall policy.public void setThirdPartyFirewallPolicy(ThirdPartyFirewallPolicy thirdPartyFirewallPolicy)
Defines the policy options for a third-party firewall policy.
thirdPartyFirewallPolicy
- Defines the policy options for a third-party firewall policy.public ThirdPartyFirewallPolicy getThirdPartyFirewallPolicy()
Defines the policy options for a third-party firewall policy.
public PolicyOption withThirdPartyFirewallPolicy(ThirdPartyFirewallPolicy thirdPartyFirewallPolicy)
Defines the policy options for a third-party firewall policy.
thirdPartyFirewallPolicy
- Defines the policy options for a third-party firewall policy.public void setNetworkAclCommonPolicy(NetworkAclCommonPolicy networkAclCommonPolicy)
Defines a Firewall Manager network ACL policy.
networkAclCommonPolicy
- Defines a Firewall Manager network ACL policy.public NetworkAclCommonPolicy getNetworkAclCommonPolicy()
Defines a Firewall Manager network ACL policy.
public PolicyOption withNetworkAclCommonPolicy(NetworkAclCommonPolicy networkAclCommonPolicy)
Defines a Firewall Manager network ACL policy.
networkAclCommonPolicy
- Defines a Firewall Manager network ACL policy.public String toString()
toString
in class Object
Object.toString()
public PolicyOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.