@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 the policy's deployment model and third-party firewall policy settings.
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)
Marshalls this structured data using the given
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 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.