@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFirewallPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateFirewallPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFirewallPolicyRequest |
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 updated firewall policy to use for the firewall.
|
String |
getFirewallPolicyArn()
The Amazon Resource Name (ARN) of the firewall policy.
|
String |
getFirewallPolicyName()
The descriptive name of the firewall policy.
|
String |
getUpdateToken()
A token used for optimistic locking.
|
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 updated firewall policy to use for the firewall.
|
void |
setFirewallPolicyArn(String firewallPolicyArn)
The Amazon Resource Name (ARN) of the firewall policy.
|
void |
setFirewallPolicyName(String firewallPolicyName)
The descriptive name of the firewall policy.
|
void |
setUpdateToken(String updateToken)
A token used for optimistic locking.
|
String |
toString()
Returns a string representation of this object.
|
UpdateFirewallPolicyRequest |
withDescription(String description)
A description of the firewall policy.
|
UpdateFirewallPolicyRequest |
withDryRun(Boolean dryRun)
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the
request.
|
UpdateFirewallPolicyRequest |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains settings for encryption of your firewall policy resources.
|
UpdateFirewallPolicyRequest |
withFirewallPolicy(FirewallPolicy firewallPolicy)
The updated firewall policy to use for the firewall.
|
UpdateFirewallPolicyRequest |
withFirewallPolicyArn(String firewallPolicyArn)
The Amazon Resource Name (ARN) of the firewall policy.
|
UpdateFirewallPolicyRequest |
withFirewallPolicyName(String firewallPolicyName)
The descriptive name of the firewall policy.
|
UpdateFirewallPolicyRequest |
withUpdateToken(String updateToken)
A token used for optimistic locking.
|
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 setUpdateToken(String updateToken)
A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure
that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException
. If this happens, retrieve the firewall policy again to get a current copy of
it with current token. Reapply your changes as needed, then try the operation again using the new token.
updateToken
- A token used for optimistic locking. Network Firewall returns a token to your requests that access the
firewall policy. The token marks the state of the policy resource at the time of the request.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to
ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails
with an InvalidTokenException
. If this happens, retrieve the firewall policy again to get a
current copy of it with current token. Reapply your changes as needed, then try the operation again using
the new token.
public String getUpdateToken()
A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure
that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException
. If this happens, retrieve the firewall policy again to get a current copy of
it with current token. Reapply your changes as needed, then try the operation again using the new token.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to
ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails
with an InvalidTokenException
. If this happens, retrieve the firewall policy again to get a
current copy of it with current token. Reapply your changes as needed, then try the operation again using
the new token.
public UpdateFirewallPolicyRequest withUpdateToken(String updateToken)
A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure
that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException
. If this happens, retrieve the firewall policy again to get a current copy of
it with current token. Reapply your changes as needed, then try the operation again using the new token.
updateToken
- A token used for optimistic locking. Network Firewall returns a token to your requests that access the
firewall policy. The token marks the state of the policy resource at the time of the request.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to
ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails
with an InvalidTokenException
. If this happens, retrieve the firewall policy again to get a
current copy of it with current token. Reapply your changes as needed, then try the operation again using
the new token.
public void setFirewallPolicyArn(String firewallPolicyArn)
The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
firewallPolicyArn
- The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
public String getFirewallPolicyArn()
The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
You must specify the ARN or the name, and you can specify both.
public UpdateFirewallPolicyRequest withFirewallPolicyArn(String firewallPolicyArn)
The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
firewallPolicyArn
- The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
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.
You must specify the ARN or the name, and you can specify both.
firewallPolicyName
- The descriptive name of the firewall policy. You can't change the name of a firewall policy after you
create it.
You must specify the ARN or the name, and you can specify both.
public String getFirewallPolicyName()
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
You must specify the ARN or the name, and you can specify both.
You must specify the ARN or the name, and you can specify both.
public UpdateFirewallPolicyRequest withFirewallPolicyName(String firewallPolicyName)
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
You must specify the ARN or the name, and you can specify both.
firewallPolicyName
- The descriptive name of the firewall policy. You can't change the name of a firewall policy after you
create it.
You must specify the ARN or the name, and you can specify both.
public void setFirewallPolicy(FirewallPolicy firewallPolicy)
The updated firewall policy to use for the firewall. You can't add or remove a TLSInspectionConfiguration
after you create a firewall policy. However, you can replace an existing TLS inspection configuration with
another TLSInspectionConfiguration
.
firewallPolicy
- The updated firewall policy to use for the firewall. You can't add or remove a
TLSInspectionConfiguration after you create a firewall policy. However, you can replace an existing
TLS inspection configuration with another TLSInspectionConfiguration
.public FirewallPolicy getFirewallPolicy()
The updated firewall policy to use for the firewall. You can't add or remove a TLSInspectionConfiguration
after you create a firewall policy. However, you can replace an existing TLS inspection configuration with
another TLSInspectionConfiguration
.
TLSInspectionConfiguration
.public UpdateFirewallPolicyRequest withFirewallPolicy(FirewallPolicy firewallPolicy)
The updated firewall policy to use for the firewall. You can't add or remove a TLSInspectionConfiguration
after you create a firewall policy. However, you can replace an existing TLS inspection configuration with
another TLSInspectionConfiguration
.
firewallPolicy
- The updated firewall policy to use for the firewall. You can't add or remove a
TLSInspectionConfiguration after you create a firewall policy. However, you can replace an existing
TLS inspection configuration with another TLSInspectionConfiguration
.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 UpdateFirewallPolicyRequest withDescription(String description)
A description of the firewall policy.
description
- A description of the firewall policy.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 UpdateFirewallPolicyRequest 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 UpdateFirewallPolicyRequest 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 UpdateFirewallPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()