@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicySummary extends Object implements Serializable, Cloneable, StructuredPojo
Details of the Firewall Manager policy.
Constructor and Description |
---|
PolicySummary() |
Modifier and Type | Method and Description |
---|---|
PolicySummary |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDeleteUnusedFMManagedResources()
Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy
scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy
scope.
|
String |
getPolicyArn()
The Amazon Resource Name (ARN) of the specified policy.
|
String |
getPolicyId()
The ID of the specified policy.
|
String |
getPolicyName()
The name of the specified policy.
|
String |
getPolicyStatus()
Indicates whether the policy is in or out of an admin's policy or Region scope.
|
Boolean |
getRemediationEnabled()
Indicates if the policy should be automatically applied to new resources.
|
String |
getResourceType()
The type of resource protected by or in scope of the policy.
|
String |
getSecurityServiceType()
The service that the policy is using to protect the resources.
|
int |
hashCode() |
Boolean |
isDeleteUnusedFMManagedResources()
Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy
scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy
scope.
|
Boolean |
isRemediationEnabled()
Indicates if the policy should be automatically applied to new resources.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeleteUnusedFMManagedResources(Boolean deleteUnusedFMManagedResources)
Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy
scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy
scope.
|
void |
setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the specified policy.
|
void |
setPolicyId(String policyId)
The ID of the specified policy.
|
void |
setPolicyName(String policyName)
The name of the specified policy.
|
void |
setPolicyStatus(String policyStatus)
Indicates whether the policy is in or out of an admin's policy or Region scope.
|
void |
setRemediationEnabled(Boolean remediationEnabled)
Indicates if the policy should be automatically applied to new resources.
|
void |
setResourceType(String resourceType)
The type of resource protected by or in scope of the policy.
|
void |
setSecurityServiceType(String securityServiceType)
The service that the policy is using to protect the resources.
|
String |
toString()
Returns a string representation of this object.
|
PolicySummary |
withDeleteUnusedFMManagedResources(Boolean deleteUnusedFMManagedResources)
Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy
scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy
scope.
|
PolicySummary |
withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the specified policy.
|
PolicySummary |
withPolicyId(String policyId)
The ID of the specified policy.
|
PolicySummary |
withPolicyName(String policyName)
The name of the specified policy.
|
PolicySummary |
withPolicyStatus(CustomerPolicyStatus policyStatus)
Indicates whether the policy is in or out of an admin's policy or Region scope.
|
PolicySummary |
withPolicyStatus(String policyStatus)
Indicates whether the policy is in or out of an admin's policy or Region scope.
|
PolicySummary |
withRemediationEnabled(Boolean remediationEnabled)
Indicates if the policy should be automatically applied to new resources.
|
PolicySummary |
withResourceType(String resourceType)
The type of resource protected by or in scope of the policy.
|
PolicySummary |
withSecurityServiceType(SecurityServiceType securityServiceType)
The service that the policy is using to protect the resources.
|
PolicySummary |
withSecurityServiceType(String securityServiceType)
The service that the policy is using to protect the resources.
|
public void setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the specified policy.
policyArn
- The Amazon Resource Name (ARN) of the specified policy.public String getPolicyArn()
The Amazon Resource Name (ARN) of the specified policy.
public PolicySummary withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the specified policy.
policyArn
- The Amazon Resource Name (ARN) of the specified policy.public void setPolicyId(String policyId)
The ID of the specified policy.
policyId
- The ID of the specified policy.public String getPolicyId()
The ID of the specified policy.
public PolicySummary withPolicyId(String policyId)
The ID of the specified policy.
policyId
- The ID of the specified policy.public void setPolicyName(String policyName)
The name of the specified policy.
policyName
- The name of the specified policy.public String getPolicyName()
The name of the specified policy.
public PolicySummary withPolicyName(String policyName)
The name of the specified policy.
policyName
- The name of the specified policy.public void setResourceType(String resourceType)
The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference.
resourceType
- The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference.public String getResourceType()
The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference.
public PolicySummary withResourceType(String resourceType)
The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference.
resourceType
- The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference.public void setSecurityServiceType(String securityServiceType)
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an WAF policy, a Shield Advanced policy, or a security group policy.
securityServiceType
- The service that the policy is using to protect the resources. This specifies the type of policy that is
created, either an WAF policy, a Shield Advanced policy, or a security group policy.SecurityServiceType
public String getSecurityServiceType()
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an WAF policy, a Shield Advanced policy, or a security group policy.
SecurityServiceType
public PolicySummary withSecurityServiceType(String securityServiceType)
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an WAF policy, a Shield Advanced policy, or a security group policy.
securityServiceType
- The service that the policy is using to protect the resources. This specifies the type of policy that is
created, either an WAF policy, a Shield Advanced policy, or a security group policy.SecurityServiceType
public PolicySummary withSecurityServiceType(SecurityServiceType securityServiceType)
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an WAF policy, a Shield Advanced policy, or a security group policy.
securityServiceType
- The service that the policy is using to protect the resources. This specifies the type of policy that is
created, either an WAF policy, a Shield Advanced policy, or a security group policy.SecurityServiceType
public void setRemediationEnabled(Boolean remediationEnabled)
Indicates if the policy should be automatically applied to new resources.
remediationEnabled
- Indicates if the policy should be automatically applied to new resources.public Boolean getRemediationEnabled()
Indicates if the policy should be automatically applied to new resources.
public PolicySummary withRemediationEnabled(Boolean remediationEnabled)
Indicates if the policy should be automatically applied to new resources.
remediationEnabled
- Indicates if the policy should be automatically applied to new resources.public Boolean isRemediationEnabled()
Indicates if the policy should be automatically applied to new resources.
public void setDeleteUnusedFMManagedResources(Boolean deleteUnusedFMManagedResources)
Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope.
By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
This option is not available for Shield Advanced or WAF Classic policies.
deleteUnusedFMManagedResources
- Indicates whether Firewall Manager should automatically remove protections from resources that leave the
policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts
leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL
from a protected customer resource when the customer resource leaves policy scope.
By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
This option is not available for Shield Advanced or WAF Classic policies.
public Boolean getDeleteUnusedFMManagedResources()
Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope.
By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
This option is not available for Shield Advanced or WAF Classic policies.
By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
This option is not available for Shield Advanced or WAF Classic policies.
public PolicySummary withDeleteUnusedFMManagedResources(Boolean deleteUnusedFMManagedResources)
Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope.
By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
This option is not available for Shield Advanced or WAF Classic policies.
deleteUnusedFMManagedResources
- Indicates whether Firewall Manager should automatically remove protections from resources that leave the
policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts
leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL
from a protected customer resource when the customer resource leaves policy scope.
By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
This option is not available for Shield Advanced or WAF Classic policies.
public Boolean isDeleteUnusedFMManagedResources()
Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope.
By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
This option is not available for Shield Advanced or WAF Classic policies.
By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
This option is not available for Shield Advanced or WAF Classic policies.
public void setPolicyStatus(String policyStatus)
Indicates whether the policy is in or out of an admin's policy or Region scope.
ACTIVE
- The administrator can manage and delete the policy.
OUT_OF_ADMIN_SCOPE
- The administrator can view the policy, but they can't edit or delete the
policy. Existing policy protections stay in place. Any new resources that come into scope of the policy won't be
protected.
policyStatus
- Indicates whether the policy is in or out of an admin's policy or Region scope.
ACTIVE
- The administrator can manage and delete the policy.
OUT_OF_ADMIN_SCOPE
- The administrator can view the policy, but they can't edit or delete the
policy. Existing policy protections stay in place. Any new resources that come into scope of the policy
won't be protected.
CustomerPolicyStatus
public String getPolicyStatus()
Indicates whether the policy is in or out of an admin's policy or Region scope.
ACTIVE
- The administrator can manage and delete the policy.
OUT_OF_ADMIN_SCOPE
- The administrator can view the policy, but they can't edit or delete the
policy. Existing policy protections stay in place. Any new resources that come into scope of the policy won't be
protected.
ACTIVE
- The administrator can manage and delete the policy.
OUT_OF_ADMIN_SCOPE
- The administrator can view the policy, but they can't edit or delete
the policy. Existing policy protections stay in place. Any new resources that come into scope of the
policy won't be protected.
CustomerPolicyStatus
public PolicySummary withPolicyStatus(String policyStatus)
Indicates whether the policy is in or out of an admin's policy or Region scope.
ACTIVE
- The administrator can manage and delete the policy.
OUT_OF_ADMIN_SCOPE
- The administrator can view the policy, but they can't edit or delete the
policy. Existing policy protections stay in place. Any new resources that come into scope of the policy won't be
protected.
policyStatus
- Indicates whether the policy is in or out of an admin's policy or Region scope.
ACTIVE
- The administrator can manage and delete the policy.
OUT_OF_ADMIN_SCOPE
- The administrator can view the policy, but they can't edit or delete the
policy. Existing policy protections stay in place. Any new resources that come into scope of the policy
won't be protected.
CustomerPolicyStatus
public PolicySummary withPolicyStatus(CustomerPolicyStatus policyStatus)
Indicates whether the policy is in or out of an admin's policy or Region scope.
ACTIVE
- The administrator can manage and delete the policy.
OUT_OF_ADMIN_SCOPE
- The administrator can view the policy, but they can't edit or delete the
policy. Existing policy protections stay in place. Any new resources that come into scope of the policy won't be
protected.
policyStatus
- Indicates whether the policy is in or out of an admin's policy or Region scope.
ACTIVE
- The administrator can manage and delete the policy.
OUT_OF_ADMIN_SCOPE
- The administrator can view the policy, but they can't edit or delete the
policy. Existing policy protections stay in place. Any new resources that come into scope of the policy
won't be protected.
CustomerPolicyStatus
public String toString()
toString
in class Object
Object.toString()
public PolicySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.