Class PolicySummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PolicySummary.Builder,PolicySummary>
Details of the Firewall Manager policy.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PolicySummary.Builderbuilder()final BooleanIndicates 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.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe Amazon Resource Name (ARN) of the specified policy.final StringpolicyId()The ID of the specified policy.final StringThe name of the specified policy.final CustomerPolicyStatusIndicates whether the policy is in or out of an admin's policy or Region scope.final StringIndicates whether the policy is in or out of an admin's policy or Region scope.final BooleanIndicates if the policy should be automatically applied to new resources.final StringThe type of resource protected by or in scope of the policy.final SecurityServiceTypeThe service that the policy is using to protect the resources.final StringThe service that the policy is using to protect the resources.static Class<? extends PolicySummary.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
policyArn
The Amazon Resource Name (ARN) of the specified policy.
- Returns:
- The Amazon Resource Name (ARN) of the specified policy.
-
policyId
The ID of the specified policy.
- Returns:
- The ID of the specified policy.
-
policyName
The name of the specified policy.
- Returns:
- The name of the specified policy.
-
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.
- Returns:
- 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.
-
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.
If the service returns an enum value that is not available in the current SDK version,
securityServiceTypewill returnSecurityServiceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsecurityServiceTypeAsString().- Returns:
- 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.
- See Also:
-
securityServiceTypeAsString
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.
If the service returns an enum value that is not available in the current SDK version,
securityServiceTypewill returnSecurityServiceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsecurityServiceTypeAsString().- Returns:
- 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.
- See Also:
-
remediationEnabled
Indicates if the policy should be automatically applied to new resources.
- Returns:
- Indicates if the policy should be automatically applied to new resources.
-
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.
- Returns:
- 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.
-
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.
If the service returns an enum value that is not available in the current SDK version,
policyStatuswill returnCustomerPolicyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyStatusAsString().- Returns:
- 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.
-
- See Also:
-
-
policyStatusAsString
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.
If the service returns an enum value that is not available in the current SDK version,
policyStatuswill returnCustomerPolicyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyStatusAsString().- Returns:
- 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.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PolicySummary.Builder,PolicySummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-