Class WebAclCustomization
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.WebAclCustomization
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WebAclCustomization.Builder,WebAclCustomization>
@Generated("software.amazon.awssdk:codegen") public final class WebAclCustomization extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WebAclCustomization.Builder,WebAclCustomization>
The WAF web ACL customization specified for the distribution tenant.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWebAclCustomization.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomizationActionTypeaction()The action for the WAF web ACL customization.StringactionAsString()The action for the WAF web ACL customization.Stringarn()The Amazon Resource Name (ARN) of the WAF web ACL.static WebAclCustomization.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WebAclCustomization.Builder>serializableBuilderClass()WebAclCustomization.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
action
public final CustomizationActionType action()
The action for the WAF web ACL customization. You can specify
overrideto specify a separate WAF web ACL for the distribution tenant. If you specifydisable, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution.If the service returns an enum value that is not available in the current SDK version,
actionwill returnCustomizationActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action for the WAF web ACL customization. You can specify
overrideto specify a separate WAF web ACL for the distribution tenant. If you specifydisable, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution. - See Also:
CustomizationActionType
-
actionAsString
public final String actionAsString()
The action for the WAF web ACL customization. You can specify
overrideto specify a separate WAF web ACL for the distribution tenant. If you specifydisable, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution.If the service returns an enum value that is not available in the current SDK version,
actionwill returnCustomizationActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action for the WAF web ACL customization. You can specify
overrideto specify a separate WAF web ACL for the distribution tenant. If you specifydisable, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution. - See Also:
CustomizationActionType
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the WAF web ACL.
- Returns:
- The Amazon Resource Name (ARN) of the WAF web ACL.
-
toBuilder
public WebAclCustomization.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WebAclCustomization.Builder,WebAclCustomization>
-
builder
public static WebAclCustomization.Builder builder()
-
serializableBuilderClass
public static Class<? extends WebAclCustomization.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-