@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFirewallPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFirewallPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFirewallPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the firewall policy.
|
Boolean |
getDryRun()
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the
request.
|
EncryptionConfiguration |
getEncryptionConfiguration()
A complex type that contains settings for encryption of your firewall policy resources.
|
FirewallPolicy |
getFirewallPolicy()
The rule groups and policy actions to use in the firewall policy.
|
String |
getFirewallPolicyName()
The descriptive name of the firewall policy.
|
List<Tag> |
getTags()
The key:value pairs to associate with the resource.
|
int |
hashCode() |
Boolean |
isDryRun()
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the
request.
|
void |
setDescription(String description)
A description of the firewall policy.
|
void |
setDryRun(Boolean dryRun)
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the
request.
|
void |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains settings for encryption of your firewall policy resources.
|
void |
setFirewallPolicy(FirewallPolicy firewallPolicy)
The rule groups and policy actions to use in the firewall policy.
|
void |
setFirewallPolicyName(String firewallPolicyName)
The descriptive name of the firewall policy.
|
void |
setTags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateFirewallPolicyRequest |
withDescription(String description)
A description of the firewall policy.
|
CreateFirewallPolicyRequest |
withDryRun(Boolean dryRun)
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the
request.
|
CreateFirewallPolicyRequest |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains settings for encryption of your firewall policy resources.
|
CreateFirewallPolicyRequest |
withFirewallPolicy(FirewallPolicy firewallPolicy)
The rule groups and policy actions to use in the firewall policy.
|
CreateFirewallPolicyRequest |
withFirewallPolicyName(String firewallPolicyName)
The descriptive name of the firewall policy.
|
CreateFirewallPolicyRequest |
withTags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
|
CreateFirewallPolicyRequest |
withTags(Tag... tags)
The key:value pairs to associate with the resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFirewallPolicyName(String firewallPolicyName)
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
firewallPolicyName
- The descriptive name of the firewall policy. You can't change the name of a firewall policy after you
create it.public String getFirewallPolicyName()
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
public CreateFirewallPolicyRequest withFirewallPolicyName(String firewallPolicyName)
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
firewallPolicyName
- The descriptive name of the firewall policy. You can't change the name of a firewall policy after you
create it.public void setFirewallPolicy(FirewallPolicy firewallPolicy)
The rule groups and policy actions to use in the firewall policy.
firewallPolicy
- The rule groups and policy actions to use in the firewall policy.public FirewallPolicy getFirewallPolicy()
The rule groups and policy actions to use in the firewall policy.
public CreateFirewallPolicyRequest withFirewallPolicy(FirewallPolicy firewallPolicy)
The rule groups and policy actions to use in the firewall policy.
firewallPolicy
- The rule groups and policy actions to use in the firewall policy.public void setDescription(String description)
A description of the firewall policy.
description
- A description of the firewall policy.public String getDescription()
A description of the firewall policy.
public CreateFirewallPolicyRequest withDescription(String description)
A description of the firewall policy.
description
- A description of the firewall policy.public List<Tag> getTags()
The key:value pairs to associate with the resource.
public void setTags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
tags
- The key:value pairs to associate with the resource.public CreateFirewallPolicyRequest withTags(Tag... tags)
The key:value pairs to associate with the resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The key:value pairs to associate with the resource.public CreateFirewallPolicyRequest withTags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
tags
- The key:value pairs to associate with the resource.public void setDryRun(Boolean dryRun)
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.
If set to TRUE
, Network Firewall checks whether the request can run successfully, but doesn't
actually make the requested changes. The call returns the value that the request would return if you ran it with
dry run set to FALSE
, but doesn't make additions or changes to your resources. This option allows
you to make sure that you have the required permissions to run the request and that your request parameters are
valid.
If set to FALSE
, Network Firewall makes the requested changes to your resources.
dryRun
- Indicates whether you want Network Firewall to just check the validity of the request, rather than run the
request.
If set to TRUE
, Network Firewall checks whether the request can run successfully, but doesn't
actually make the requested changes. The call returns the value that the request would return if you ran
it with dry run set to FALSE
, but doesn't make additions or changes to your resources. This
option allows you to make sure that you have the required permissions to run the request and that your
request parameters are valid.
If set to FALSE
, Network Firewall makes the requested changes to your resources.
public Boolean getDryRun()
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.
If set to TRUE
, Network Firewall checks whether the request can run successfully, but doesn't
actually make the requested changes. The call returns the value that the request would return if you ran it with
dry run set to FALSE
, but doesn't make additions or changes to your resources. This option allows
you to make sure that you have the required permissions to run the request and that your request parameters are
valid.
If set to FALSE
, Network Firewall makes the requested changes to your resources.
If set to TRUE
, Network Firewall checks whether the request can run successfully, but
doesn't actually make the requested changes. The call returns the value that the request would return if
you ran it with dry run set to FALSE
, but doesn't make additions or changes to your
resources. This option allows you to make sure that you have the required permissions to run the request
and that your request parameters are valid.
If set to FALSE
, Network Firewall makes the requested changes to your resources.
public CreateFirewallPolicyRequest withDryRun(Boolean dryRun)
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.
If set to TRUE
, Network Firewall checks whether the request can run successfully, but doesn't
actually make the requested changes. The call returns the value that the request would return if you ran it with
dry run set to FALSE
, but doesn't make additions or changes to your resources. This option allows
you to make sure that you have the required permissions to run the request and that your request parameters are
valid.
If set to FALSE
, Network Firewall makes the requested changes to your resources.
dryRun
- Indicates whether you want Network Firewall to just check the validity of the request, rather than run the
request.
If set to TRUE
, Network Firewall checks whether the request can run successfully, but doesn't
actually make the requested changes. The call returns the value that the request would return if you ran
it with dry run set to FALSE
, but doesn't make additions or changes to your resources. This
option allows you to make sure that you have the required permissions to run the request and that your
request parameters are valid.
If set to FALSE
, Network Firewall makes the requested changes to your resources.
public Boolean isDryRun()
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.
If set to TRUE
, Network Firewall checks whether the request can run successfully, but doesn't
actually make the requested changes. The call returns the value that the request would return if you ran it with
dry run set to FALSE
, but doesn't make additions or changes to your resources. This option allows
you to make sure that you have the required permissions to run the request and that your request parameters are
valid.
If set to FALSE
, Network Firewall makes the requested changes to your resources.
If set to TRUE
, Network Firewall checks whether the request can run successfully, but
doesn't actually make the requested changes. The call returns the value that the request would return if
you ran it with dry run set to FALSE
, but doesn't make additions or changes to your
resources. This option allows you to make sure that you have the required permissions to run the request
and that your request parameters are valid.
If set to FALSE
, Network Firewall makes the requested changes to your resources.
public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains settings for encryption of your firewall policy resources.
encryptionConfiguration
- A complex type that contains settings for encryption of your firewall policy resources.public EncryptionConfiguration getEncryptionConfiguration()
A complex type that contains settings for encryption of your firewall policy resources.
public CreateFirewallPolicyRequest withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains settings for encryption of your firewall policy resources.
encryptionConfiguration
- A complex type that contains settings for encryption of your firewall policy resources.public String toString()
toString
in class Object
Object.toString()
public CreateFirewallPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()