@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; useful for testing and debugging.
|
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 value is WAF.
type - The service that the policy is using to protect the resources. This value is WAF.SecurityServiceTypepublic String getType()
The service that the policy is using to protect the resources. This value is WAF.
WAF.SecurityServiceTypepublic SecurityServicePolicyData withType(String type)
The service that the policy is using to protect the resources. This value is WAF.
type - The service that the policy is using to protect the resources. This value is WAF.SecurityServiceTypepublic SecurityServicePolicyData withType(SecurityServiceType type)
The service that the policy is using to protect the resources. This value is WAF.
type - The service that the policy is using to protect the resources. This value is WAF.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\"}}
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\"}}
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\"}}
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\"}}
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\"}}
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\"}}
public String toString()
toString in class ObjectObject.toString()public SecurityServicePolicyData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.