@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)
Marshalls this structured data using the given
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.SecurityServiceType
public 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.
SecurityServiceType
public 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.SecurityServiceType
public 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.SecurityServiceType
public 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 Object
Object.toString()
public SecurityServicePolicyData 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.