@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityServicePolicyData extends Object implements Serializable, Cloneable, StructuredPojo
Details about the security service that is being used to protect the resources.
| Constructor and Description |
|---|
SecurityServicePolicyData() |
| Modifier and Type | Method and Description |
|---|---|
SecurityServicePolicyData |
clone() |
boolean |
equals(Object obj) |
String |
getManagedServiceData()
Details about the service.
|
String |
getType()
The service that the policy is using to protect the resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setManagedServiceData(String managedServiceData)
Details about the service.
|
void |
setType(String type)
The service that the policy is using to protect the resources.
|
String |
toString()
Returns a string representation of this object.
|
SecurityServicePolicyData |
withManagedServiceData(String managedServiceData)
Details about the service.
|
SecurityServicePolicyData |
withType(SecurityServiceType type)
The service that the policy is using to protect the resources.
|
SecurityServicePolicyData |
withType(String type)
The service that the policy is using to protect the resources.
|
public void setType(String type)
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either a WAF policy or Shield Advanced policy.
type - The service that the policy is using to protect the resources. This specifies the type of policy that is
created, either a WAF policy or Shield Advanced policy.SecurityServiceTypepublic String getType()
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either a WAF policy or Shield Advanced policy.
SecurityServiceTypepublic SecurityServicePolicyData withType(String type)
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either a WAF policy or Shield Advanced policy.
type - The service that the policy is using to protect the resources. This specifies the type of policy that is
created, either a WAF policy or Shield Advanced policy.SecurityServiceTypepublic SecurityServicePolicyData withType(SecurityServiceType type)
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either a WAF policy or Shield Advanced policy.
type - The service that the policy is using to protect the resources. This specifies the type of policy that is
created, either a WAF policy or Shield Advanced policy.SecurityServiceTypepublic void setManagedServiceData(String managedServiceData)
Details about the service. This contains WAF data in JSON format, as shown in the following example:
ManagedServiceData": "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\": \"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}
If this is a Shield Advanced policy, this string will be empty.
managedServiceData - Details about the service. This contains WAF data in JSON format, as shown in the following
example:
ManagedServiceData": "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\": \"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}
If this is a Shield Advanced policy, this string will be empty.
public String getManagedServiceData()
Details about the service. This contains WAF data in JSON format, as shown in the following example:
ManagedServiceData": "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\": \"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}
If this is a Shield Advanced policy, this string will be empty.
WAF data in JSON format, as shown in the following
example:
ManagedServiceData": "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\": \"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}
If this is a Shield Advanced policy, this string will be empty.
public SecurityServicePolicyData withManagedServiceData(String managedServiceData)
Details about the service. This contains WAF data in JSON format, as shown in the following example:
ManagedServiceData": "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\": \"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}
If this is a Shield Advanced policy, this string will be empty.
managedServiceData - Details about the service. This contains WAF data in JSON format, as shown in the following
example:
ManagedServiceData": "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\": \"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}
If this is a Shield Advanced policy, this string will be empty.
public String toString()
toString in class ObjectObject.toString()public SecurityServicePolicyData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.