@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyOption extends Object implements Serializable, Cloneable, StructuredPojo
Contains the Network Firewall firewall policy options to configure a centralized deployment model.
| Constructor and Description |
|---|
PolicyOption() |
| Modifier and Type | Method and Description |
|---|---|
PolicyOption |
clone() |
boolean |
equals(Object obj) |
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) |
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 |
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 String toString()
toString in class ObjectObject.toString()public PolicyOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.