public static interface PolicySummary.Builder extends SdkPojo, CopyableBuilder<PolicySummary.Builder,PolicySummary>
Modifier and Type | Method and Description |
---|---|
PolicySummary.Builder |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the specified policy.
|
PolicySummary.Builder |
policyId(String policyId)
The ID of the specified policy.
|
PolicySummary.Builder |
policyName(String policyName)
The friendly name of the specified policy.
|
PolicySummary.Builder |
remediationEnabled(Boolean remediationEnabled)
Indicates if the policy should be automatically applied to new resources.
|
PolicySummary.Builder |
resourceType(String resourceType)
The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront
distribution.
|
PolicySummary.Builder |
securityServiceType(SecurityServiceType securityServiceType)
The service that the policy is using to protect the resources.
|
PolicySummary.Builder |
securityServiceType(String securityServiceType)
The service that the policy is using to protect the resources.
|
copy
applyMutation, build
PolicySummary.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the specified policy.
policyArn
- The Amazon Resource Name (ARN) of the specified policy.PolicySummary.Builder policyId(String policyId)
The ID of the specified policy.
policyId
- The ID of the specified policy.PolicySummary.Builder policyName(String policyName)
The friendly name of the specified policy.
policyName
- The friendly name of the specified policy.PolicySummary.Builder resourceType(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
.
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
.PolicySummary.Builder securityServiceType(String securityServiceType)
The service that the policy is using to protect the resources. This value is WAF
.
securityServiceType
- The service that the policy is using to protect the resources. This value is WAF
.SecurityServiceType
,
SecurityServiceType
PolicySummary.Builder securityServiceType(SecurityServiceType securityServiceType)
The service that the policy is using to protect the resources. This value is WAF
.
securityServiceType
- The service that the policy is using to protect the resources. This value is WAF
.SecurityServiceType
,
SecurityServiceType
PolicySummary.Builder remediationEnabled(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.