@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsNetworkFirewallFirewallDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about an Network Firewall firewall.
Constructor and Description |
---|
AwsNetworkFirewallFirewallDetails() |
Modifier and Type | Method and Description |
---|---|
AwsNetworkFirewallFirewallDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDeleteProtection()
Whether the firewall is protected from deletion.
|
String |
getDescription()
A description of the firewall.
|
String |
getFirewallArn()
The ARN of the firewall.
|
String |
getFirewallId()
The identifier of the firewall.
|
String |
getFirewallName()
A descriptive name of the firewall.
|
String |
getFirewallPolicyArn()
The ARN of the firewall policy.
|
Boolean |
getFirewallPolicyChangeProtection()
Whether the firewall is protected from a change to the firewall policy.
|
Boolean |
getSubnetChangeProtection()
Whether the firewall is protected from a change to the subnet associations.
|
List<AwsNetworkFirewallFirewallSubnetMappingsDetails> |
getSubnetMappings()
The public subnets that Network Firewall uses for the firewall.
|
String |
getVpcId()
The identifier of the VPC where the firewall is used.
|
int |
hashCode() |
Boolean |
isDeleteProtection()
Whether the firewall is protected from deletion.
|
Boolean |
isFirewallPolicyChangeProtection()
Whether the firewall is protected from a change to the firewall policy.
|
Boolean |
isSubnetChangeProtection()
Whether the firewall is protected from a change to the subnet associations.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeleteProtection(Boolean deleteProtection)
Whether the firewall is protected from deletion.
|
void |
setDescription(String description)
A description of the firewall.
|
void |
setFirewallArn(String firewallArn)
The ARN of the firewall.
|
void |
setFirewallId(String firewallId)
The identifier of the firewall.
|
void |
setFirewallName(String firewallName)
A descriptive name of the firewall.
|
void |
setFirewallPolicyArn(String firewallPolicyArn)
The ARN of the firewall policy.
|
void |
setFirewallPolicyChangeProtection(Boolean firewallPolicyChangeProtection)
Whether the firewall is protected from a change to the firewall policy.
|
void |
setSubnetChangeProtection(Boolean subnetChangeProtection)
Whether the firewall is protected from a change to the subnet associations.
|
void |
setSubnetMappings(Collection<AwsNetworkFirewallFirewallSubnetMappingsDetails> subnetMappings)
The public subnets that Network Firewall uses for the firewall.
|
void |
setVpcId(String vpcId)
The identifier of the VPC where the firewall is used.
|
String |
toString()
Returns a string representation of this object.
|
AwsNetworkFirewallFirewallDetails |
withDeleteProtection(Boolean deleteProtection)
Whether the firewall is protected from deletion.
|
AwsNetworkFirewallFirewallDetails |
withDescription(String description)
A description of the firewall.
|
AwsNetworkFirewallFirewallDetails |
withFirewallArn(String firewallArn)
The ARN of the firewall.
|
AwsNetworkFirewallFirewallDetails |
withFirewallId(String firewallId)
The identifier of the firewall.
|
AwsNetworkFirewallFirewallDetails |
withFirewallName(String firewallName)
A descriptive name of the firewall.
|
AwsNetworkFirewallFirewallDetails |
withFirewallPolicyArn(String firewallPolicyArn)
The ARN of the firewall policy.
|
AwsNetworkFirewallFirewallDetails |
withFirewallPolicyChangeProtection(Boolean firewallPolicyChangeProtection)
Whether the firewall is protected from a change to the firewall policy.
|
AwsNetworkFirewallFirewallDetails |
withSubnetChangeProtection(Boolean subnetChangeProtection)
Whether the firewall is protected from a change to the subnet associations.
|
AwsNetworkFirewallFirewallDetails |
withSubnetMappings(AwsNetworkFirewallFirewallSubnetMappingsDetails... subnetMappings)
The public subnets that Network Firewall uses for the firewall.
|
AwsNetworkFirewallFirewallDetails |
withSubnetMappings(Collection<AwsNetworkFirewallFirewallSubnetMappingsDetails> subnetMappings)
The public subnets that Network Firewall uses for the firewall.
|
AwsNetworkFirewallFirewallDetails |
withVpcId(String vpcId)
The identifier of the VPC where the firewall is used.
|
public void setDeleteProtection(Boolean deleteProtection)
Whether the firewall is protected from deletion. If set to true
, then the firewall cannot be
deleted.
deleteProtection
- Whether the firewall is protected from deletion. If set to true
, then the firewall cannot be
deleted.public Boolean getDeleteProtection()
Whether the firewall is protected from deletion. If set to true
, then the firewall cannot be
deleted.
true
, then the firewall cannot be
deleted.public AwsNetworkFirewallFirewallDetails withDeleteProtection(Boolean deleteProtection)
Whether the firewall is protected from deletion. If set to true
, then the firewall cannot be
deleted.
deleteProtection
- Whether the firewall is protected from deletion. If set to true
, then the firewall cannot be
deleted.public Boolean isDeleteProtection()
Whether the firewall is protected from deletion. If set to true
, then the firewall cannot be
deleted.
true
, then the firewall cannot be
deleted.public void setDescription(String description)
A description of the firewall.
description
- A description of the firewall.public String getDescription()
A description of the firewall.
public AwsNetworkFirewallFirewallDetails withDescription(String description)
A description of the firewall.
description
- A description of the firewall.public void setFirewallArn(String firewallArn)
The ARN of the firewall.
firewallArn
- The ARN of the firewall.public String getFirewallArn()
The ARN of the firewall.
public AwsNetworkFirewallFirewallDetails withFirewallArn(String firewallArn)
The ARN of the firewall.
firewallArn
- The ARN of the firewall.public void setFirewallId(String firewallId)
The identifier of the firewall.
firewallId
- The identifier of the firewall.public String getFirewallId()
The identifier of the firewall.
public AwsNetworkFirewallFirewallDetails withFirewallId(String firewallId)
The identifier of the firewall.
firewallId
- The identifier of the firewall.public void setFirewallName(String firewallName)
A descriptive name of the firewall.
firewallName
- A descriptive name of the firewall.public String getFirewallName()
A descriptive name of the firewall.
public AwsNetworkFirewallFirewallDetails withFirewallName(String firewallName)
A descriptive name of the firewall.
firewallName
- A descriptive name of the firewall.public void setFirewallPolicyArn(String firewallPolicyArn)
The ARN of the firewall policy.
firewallPolicyArn
- The ARN of the firewall policy.public String getFirewallPolicyArn()
The ARN of the firewall policy.
public AwsNetworkFirewallFirewallDetails withFirewallPolicyArn(String firewallPolicyArn)
The ARN of the firewall policy.
firewallPolicyArn
- The ARN of the firewall policy.public void setFirewallPolicyChangeProtection(Boolean firewallPolicyChangeProtection)
Whether the firewall is protected from a change to the firewall policy. If set to true
, you cannot
associate a different policy with the firewall.
firewallPolicyChangeProtection
- Whether the firewall is protected from a change to the firewall policy. If set to true
, you
cannot associate a different policy with the firewall.public Boolean getFirewallPolicyChangeProtection()
Whether the firewall is protected from a change to the firewall policy. If set to true
, you cannot
associate a different policy with the firewall.
true
, you
cannot associate a different policy with the firewall.public AwsNetworkFirewallFirewallDetails withFirewallPolicyChangeProtection(Boolean firewallPolicyChangeProtection)
Whether the firewall is protected from a change to the firewall policy. If set to true
, you cannot
associate a different policy with the firewall.
firewallPolicyChangeProtection
- Whether the firewall is protected from a change to the firewall policy. If set to true
, you
cannot associate a different policy with the firewall.public Boolean isFirewallPolicyChangeProtection()
Whether the firewall is protected from a change to the firewall policy. If set to true
, you cannot
associate a different policy with the firewall.
true
, you
cannot associate a different policy with the firewall.public void setSubnetChangeProtection(Boolean subnetChangeProtection)
Whether the firewall is protected from a change to the subnet associations. If set to true
, you
cannot map different subnets to the firewall.
subnetChangeProtection
- Whether the firewall is protected from a change to the subnet associations. If set to true
,
you cannot map different subnets to the firewall.public Boolean getSubnetChangeProtection()
Whether the firewall is protected from a change to the subnet associations. If set to true
, you
cannot map different subnets to the firewall.
true
,
you cannot map different subnets to the firewall.public AwsNetworkFirewallFirewallDetails withSubnetChangeProtection(Boolean subnetChangeProtection)
Whether the firewall is protected from a change to the subnet associations. If set to true
, you
cannot map different subnets to the firewall.
subnetChangeProtection
- Whether the firewall is protected from a change to the subnet associations. If set to true
,
you cannot map different subnets to the firewall.public Boolean isSubnetChangeProtection()
Whether the firewall is protected from a change to the subnet associations. If set to true
, you
cannot map different subnets to the firewall.
true
,
you cannot map different subnets to the firewall.public List<AwsNetworkFirewallFirewallSubnetMappingsDetails> getSubnetMappings()
The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.
public void setSubnetMappings(Collection<AwsNetworkFirewallFirewallSubnetMappingsDetails> subnetMappings)
The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.
subnetMappings
- The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different
Availability Zone.public AwsNetworkFirewallFirewallDetails withSubnetMappings(AwsNetworkFirewallFirewallSubnetMappingsDetails... subnetMappings)
The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetMappings(java.util.Collection)
or withSubnetMappings(java.util.Collection)
if you want
to override the existing values.
subnetMappings
- The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different
Availability Zone.public AwsNetworkFirewallFirewallDetails withSubnetMappings(Collection<AwsNetworkFirewallFirewallSubnetMappingsDetails> subnetMappings)
The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.
subnetMappings
- The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different
Availability Zone.public void setVpcId(String vpcId)
The identifier of the VPC where the firewall is used.
vpcId
- The identifier of the VPC where the firewall is used.public String getVpcId()
The identifier of the VPC where the firewall is used.
public AwsNetworkFirewallFirewallDetails withVpcId(String vpcId)
The identifier of the VPC where the firewall is used.
vpcId
- The identifier of the VPC where the firewall is used.public String toString()
toString
in class Object
Object.toString()
public AwsNetworkFirewallFirewallDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.