@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FirewallPolicyResponse extends Object implements Serializable, Cloneable, StructuredPojo
The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.
Constructor and Description |
---|
FirewallPolicyResponse() |
Modifier and Type | Method and Description |
---|---|
FirewallPolicyResponse |
clone() |
boolean |
equals(Object obj) |
Integer |
getConsumedStatefulRuleCapacity()
The number of capacity units currently consumed by the policy's stateful rules.
|
Integer |
getConsumedStatelessRuleCapacity()
The number of capacity units currently consumed by the policy's stateless rules.
|
String |
getDescription()
A description of the firewall policy.
|
EncryptionConfiguration |
getEncryptionConfiguration()
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall
policy.
|
String |
getFirewallPolicyArn()
The Amazon Resource Name (ARN) of the firewall policy.
|
String |
getFirewallPolicyId()
The unique identifier for the firewall policy.
|
String |
getFirewallPolicyName()
The descriptive name of the firewall policy.
|
String |
getFirewallPolicyStatus()
The current status of the firewall policy.
|
Date |
getLastModifiedTime()
The last time that the firewall policy was changed.
|
Integer |
getNumberOfAssociations()
The number of firewalls that are associated with this firewall policy.
|
List<Tag> |
getTags()
The key:value pairs to associate with the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConsumedStatefulRuleCapacity(Integer consumedStatefulRuleCapacity)
The number of capacity units currently consumed by the policy's stateful rules.
|
void |
setConsumedStatelessRuleCapacity(Integer consumedStatelessRuleCapacity)
The number of capacity units currently consumed by the policy's stateless rules.
|
void |
setDescription(String description)
A description of the firewall policy.
|
void |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall
policy.
|
void |
setFirewallPolicyArn(String firewallPolicyArn)
The Amazon Resource Name (ARN) of the firewall policy.
|
void |
setFirewallPolicyId(String firewallPolicyId)
The unique identifier for the firewall policy.
|
void |
setFirewallPolicyName(String firewallPolicyName)
The descriptive name of the firewall policy.
|
void |
setFirewallPolicyStatus(String firewallPolicyStatus)
The current status of the firewall policy.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The last time that the firewall policy was changed.
|
void |
setNumberOfAssociations(Integer numberOfAssociations)
The number of firewalls that are associated with this 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.
|
FirewallPolicyResponse |
withConsumedStatefulRuleCapacity(Integer consumedStatefulRuleCapacity)
The number of capacity units currently consumed by the policy's stateful rules.
|
FirewallPolicyResponse |
withConsumedStatelessRuleCapacity(Integer consumedStatelessRuleCapacity)
The number of capacity units currently consumed by the policy's stateless rules.
|
FirewallPolicyResponse |
withDescription(String description)
A description of the firewall policy.
|
FirewallPolicyResponse |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall
policy.
|
FirewallPolicyResponse |
withFirewallPolicyArn(String firewallPolicyArn)
The Amazon Resource Name (ARN) of the firewall policy.
|
FirewallPolicyResponse |
withFirewallPolicyId(String firewallPolicyId)
The unique identifier for the firewall policy.
|
FirewallPolicyResponse |
withFirewallPolicyName(String firewallPolicyName)
The descriptive name of the firewall policy.
|
FirewallPolicyResponse |
withFirewallPolicyStatus(ResourceStatus firewallPolicyStatus)
The current status of the firewall policy.
|
FirewallPolicyResponse |
withFirewallPolicyStatus(String firewallPolicyStatus)
The current status of the firewall policy.
|
FirewallPolicyResponse |
withLastModifiedTime(Date lastModifiedTime)
The last time that the firewall policy was changed.
|
FirewallPolicyResponse |
withNumberOfAssociations(Integer numberOfAssociations)
The number of firewalls that are associated with this firewall policy.
|
FirewallPolicyResponse |
withTags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
|
FirewallPolicyResponse |
withTags(Tag... tags)
The key:value pairs to associate with the resource.
|
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 FirewallPolicyResponse 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 setFirewallPolicyArn(String firewallPolicyArn)
The Amazon Resource Name (ARN) of the firewall policy.
If this response is for a create request that had DryRun
set to TRUE
, then this ARN is
a placeholder that isn't attached to a valid resource.
firewallPolicyArn
- The Amazon Resource Name (ARN) of the firewall policy.
If this response is for a create request that had DryRun
set to TRUE
, then this
ARN is a placeholder that isn't attached to a valid resource.
public String getFirewallPolicyArn()
The Amazon Resource Name (ARN) of the firewall policy.
If this response is for a create request that had DryRun
set to TRUE
, then this ARN is
a placeholder that isn't attached to a valid resource.
If this response is for a create request that had DryRun
set to TRUE
, then this
ARN is a placeholder that isn't attached to a valid resource.
public FirewallPolicyResponse withFirewallPolicyArn(String firewallPolicyArn)
The Amazon Resource Name (ARN) of the firewall policy.
If this response is for a create request that had DryRun
set to TRUE
, then this ARN is
a placeholder that isn't attached to a valid resource.
firewallPolicyArn
- The Amazon Resource Name (ARN) of the firewall policy.
If this response is for a create request that had DryRun
set to TRUE
, then this
ARN is a placeholder that isn't attached to a valid resource.
public void setFirewallPolicyId(String firewallPolicyId)
The unique identifier for the firewall policy.
firewallPolicyId
- The unique identifier for the firewall policy.public String getFirewallPolicyId()
The unique identifier for the firewall policy.
public FirewallPolicyResponse withFirewallPolicyId(String firewallPolicyId)
The unique identifier for the firewall policy.
firewallPolicyId
- The unique identifier for 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 FirewallPolicyResponse withDescription(String description)
A description of the firewall policy.
description
- A description of the firewall policy.public void setFirewallPolicyStatus(String firewallPolicyStatus)
The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.
firewallPolicyStatus
- The current status of the firewall policy. You can retrieve this for a firewall policy by calling
DescribeFirewallPolicy and providing the firewall policy's name or ARN.ResourceStatus
public String getFirewallPolicyStatus()
The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.
ResourceStatus
public FirewallPolicyResponse withFirewallPolicyStatus(String firewallPolicyStatus)
The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.
firewallPolicyStatus
- The current status of the firewall policy. You can retrieve this for a firewall policy by calling
DescribeFirewallPolicy and providing the firewall policy's name or ARN.ResourceStatus
public FirewallPolicyResponse withFirewallPolicyStatus(ResourceStatus firewallPolicyStatus)
The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.
firewallPolicyStatus
- The current status of the firewall policy. You can retrieve this for a firewall policy by calling
DescribeFirewallPolicy and providing the firewall policy's name or ARN.ResourceStatus
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 FirewallPolicyResponse 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 FirewallPolicyResponse 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 setConsumedStatelessRuleCapacity(Integer consumedStatelessRuleCapacity)
The number of capacity units currently consumed by the policy's stateless rules.
consumedStatelessRuleCapacity
- The number of capacity units currently consumed by the policy's stateless rules.public Integer getConsumedStatelessRuleCapacity()
The number of capacity units currently consumed by the policy's stateless rules.
public FirewallPolicyResponse withConsumedStatelessRuleCapacity(Integer consumedStatelessRuleCapacity)
The number of capacity units currently consumed by the policy's stateless rules.
consumedStatelessRuleCapacity
- The number of capacity units currently consumed by the policy's stateless rules.public void setConsumedStatefulRuleCapacity(Integer consumedStatefulRuleCapacity)
The number of capacity units currently consumed by the policy's stateful rules.
consumedStatefulRuleCapacity
- The number of capacity units currently consumed by the policy's stateful rules.public Integer getConsumedStatefulRuleCapacity()
The number of capacity units currently consumed by the policy's stateful rules.
public FirewallPolicyResponse withConsumedStatefulRuleCapacity(Integer consumedStatefulRuleCapacity)
The number of capacity units currently consumed by the policy's stateful rules.
consumedStatefulRuleCapacity
- The number of capacity units currently consumed by the policy's stateful rules.public void setNumberOfAssociations(Integer numberOfAssociations)
The number of firewalls that are associated with this firewall policy.
numberOfAssociations
- The number of firewalls that are associated with this firewall policy.public Integer getNumberOfAssociations()
The number of firewalls that are associated with this firewall policy.
public FirewallPolicyResponse withNumberOfAssociations(Integer numberOfAssociations)
The number of firewalls that are associated with this firewall policy.
numberOfAssociations
- The number of firewalls that are associated with this firewall policy.public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy.
encryptionConfiguration
- A complex type that contains the Amazon Web Services KMS encryption configuration settings for your
firewall policy.public EncryptionConfiguration getEncryptionConfiguration()
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy.
public FirewallPolicyResponse withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy.
encryptionConfiguration
- A complex type that contains the Amazon Web Services KMS encryption configuration settings for your
firewall policy.public void setLastModifiedTime(Date lastModifiedTime)
The last time that the firewall policy was changed.
lastModifiedTime
- The last time that the firewall policy was changed.public Date getLastModifiedTime()
The last time that the firewall policy was changed.
public FirewallPolicyResponse withLastModifiedTime(Date lastModifiedTime)
The last time that the firewall policy was changed.
lastModifiedTime
- The last time that the firewall policy was changed.public String toString()
toString
in class Object
Object.toString()
public FirewallPolicyResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.