@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) |
String |
getDescription()
A description of the 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.
|
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 |
setDescription(String description)
A description of the 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 |
setTags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
|
String |
toString()
Returns a string representation of this object.
|
FirewallPolicyResponse |
withDescription(String description)
A description of the 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 |
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 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.