@Generated(value="software.amazon.awssdk:codegen") public final class SecurityServicePolicyData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SecurityServicePolicyData.Builder,SecurityServicePolicyData>
Details about the security service that is being used to protect the resources.
Modifier and Type | Class and Description |
---|---|
static interface |
SecurityServicePolicyData.Builder |
Modifier and Type | Method and Description |
---|---|
static SecurityServicePolicyData.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
managedServiceData()
Details about the service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SecurityServicePolicyData.Builder> |
serializableBuilderClass() |
SecurityServicePolicyData.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
SecurityServiceType |
type()
The service that the policy is using to protect the resources.
|
String |
typeAsString()
The service that the policy is using to protect the resources.
|
copy
public SecurityServiceType type()
The service that the policy is using to protect the resources. This value is WAF
.
If the service returns an enum value that is not available in the current SDK version, type
will return
SecurityServiceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
WAF
.SecurityServiceType
public String typeAsString()
The service that the policy is using to protect the resources. This value is WAF
.
If the service returns an enum value that is not available in the current SDK version, type
will return
SecurityServiceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
WAF
.SecurityServiceType
public 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\"}}
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SecurityServicePolicyData.Builder,SecurityServicePolicyData>
public static SecurityServicePolicyData.Builder builder()
public static Class<? extends SecurityServicePolicyData.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.