@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicySummary extends Object implements Serializable, Cloneable, StructuredPojo
Details of the AWS Firewall Manager policy.
Constructor and Description |
---|
PolicySummary() |
Modifier and Type | Method and Description |
---|---|
PolicySummary |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyArn()
The Amazon Resource Name (ARN) of the specified policy.
|
String |
getPolicyId()
The ID of the specified policy.
|
String |
getPolicyName()
The friendly name of the specified policy.
|
Boolean |
getRemediationEnabled()
Indicates if the policy should be automatically applied to new resources.
|
String |
getResourceType()
The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront
distribution.
|
String |
getSecurityServiceType()
The service that the policy is using to protect the resources.
|
int |
hashCode() |
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 |
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 friendly name of the specified policy.
|
void |
setRemediationEnabled(Boolean remediationEnabled)
Indicates if the policy should be automatically applied to new resources.
|
void |
setResourceType(String resourceType)
The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront
distribution.
|
void |
setSecurityServiceType(String securityServiceType)
The service that the policy is using to protect the resources.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 friendly name of the specified policy.
|
PolicySummary |
withRemediationEnabled(Boolean remediationEnabled)
Indicates if the policy should be automatically applied to new resources.
|
PolicySummary |
withResourceType(String resourceType)
The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront
distribution.
|
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 friendly name of the specified policy.
policyName
- The friendly name of the specified policy.public String getPolicyName()
The friendly name of the specified policy.
public PolicySummary withPolicyName(String policyName)
The friendly name of the specified policy.
policyName
- The friendly name of the specified policy.public void setResourceType(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
.public String getResourceType()
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 PolicySummary withResourceType(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
.public void setSecurityServiceType(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
public String getSecurityServiceType()
The service that the policy is using to protect the resources. This value is WAF
.
WAF
.SecurityServiceType
public PolicySummary withSecurityServiceType(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
public PolicySummary withSecurityServiceType(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
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.