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 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 protected by or in scope of the policy.
|
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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPolicySummary.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 name of the specified policy.
policyName - The name of the specified policy.PolicySummary.Builder resourceType(String resourceType)
The type of resource protected by or in scope of the policy. This is in the format shown in the AWS
Resource Types Reference. For AWS WAF and Shield Advanced, examples include
AWS::ElasticLoadBalancingV2::LoadBalancer and AWS::CloudFront::Distribution. For a
security group common policy, valid values are AWS::EC2::NetworkInterface and
AWS::EC2::Instance. For a security group content audit policy, valid values are
AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface, and
AWS::EC2::Instance. For a security group usage audit policy, the value is
AWS::EC2::SecurityGroup. For an AWS Network Firewall policy, the value is
AWS::EC2::VPC.
resourceType - The type of resource protected by or in scope of the policy. This is in the format shown in the AWS Resource Types Reference. For AWS WAF and Shield Advanced, examples include
AWS::ElasticLoadBalancingV2::LoadBalancer and AWS::CloudFront::Distribution.
For a security group common policy, valid values are AWS::EC2::NetworkInterface and
AWS::EC2::Instance. For a security group content audit policy, valid values are
AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface, and
AWS::EC2::Instance. For a security group usage audit policy, the value is
AWS::EC2::SecurityGroup. For an AWS Network Firewall policy, the value is
AWS::EC2::VPC.PolicySummary.Builder securityServiceType(String securityServiceType)
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an AWS 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 AWS WAF policy, a Shield Advanced policy, or a security group policy.SecurityServiceType,
SecurityServiceTypePolicySummary.Builder securityServiceType(SecurityServiceType securityServiceType)
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an AWS 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 AWS WAF policy, a Shield Advanced policy, or a security group policy.SecurityServiceType,
SecurityServiceTypePolicySummary.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 © 2020. All rights reserved.