@Generated(value="software.amazon.awssdk:codegen") public final class PolicySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicySummary.Builder,PolicySummary>
Details of the AWS Firewall Manager policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PolicySummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PolicySummary.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyArn()
The Amazon Resource Name (ARN) of the specified policy.
|
String |
policyId()
The ID of the specified policy.
|
String |
policyName()
The friendly name of the specified policy.
|
Boolean |
remediationEnabled()
Indicates if the policy should be automatically applied to new resources.
|
String |
resourceType()
The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront
distribution.
|
List<SdkField<?>> |
sdkFields() |
SecurityServiceType |
securityServiceType()
The service that the policy is using to protect the resources.
|
String |
securityServiceTypeAsString()
The service that the policy is using to protect the resources.
|
static Class<? extends PolicySummary.Builder> |
serializableBuilderClass() |
PolicySummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String policyArn()
The Amazon Resource Name (ARN) of the specified policy.
public String policyId()
The ID of the specified policy.
public String policyName()
The friendly name of the specified policy.
public String resourceType()
The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront
distribution. This is in the format shown in AWS
Resource Types Reference. Valid values are AWS::ElasticLoadBalancingV2::LoadBalancer or
AWS::CloudFront::Distribution.
AWS::ElasticLoadBalancingV2::LoadBalancer or
AWS::CloudFront::Distribution.public SecurityServiceType securityServiceType()
The service that the policy is using to protect the resources. This value is WAF.
If the service returns an enum value that is not available in the current SDK version,
securityServiceType will return SecurityServiceType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from securityServiceTypeAsString().
WAF.SecurityServiceTypepublic String securityServiceTypeAsString()
The service that the policy is using to protect the resources. This value is WAF.
If the service returns an enum value that is not available in the current SDK version,
securityServiceType will return SecurityServiceType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from securityServiceTypeAsString().
WAF.SecurityServiceTypepublic Boolean remediationEnabled()
Indicates if the policy should be automatically applied to new resources.
public PolicySummary.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<PolicySummary.Builder,PolicySummary>public static PolicySummary.Builder builder()
public static Class<? extends PolicySummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.