Class WafConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.amplify.model.WafConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WafConfiguration.Builder,WafConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class WafConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WafConfiguration.Builder,WafConfiguration>
Describes the Firewall configuration for a hosted Amplify application. Firewall support enables you to protect your web applications with a direct integration with WAF. For more information about using WAF protections for an Amplify application, see Firewall support for hosted sites in the Amplify User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWafConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WafConfiguration.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 WafConfiguration.Builder>serializableBuilderClass()StringstatusReason()The reason for the current status of the Firewall configuration.WafConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.WafStatuswafStatus()The status of the process to associate or disassociate a web ACL to an Amplify app.StringwafStatusAsString()The status of the process to associate or disassociate a web ACL to an Amplify app.StringwebAclArn()The Amazon Resource Name (ARN) for the web ACL associated with an Amplify app.-
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
-
webAclArn
public final String webAclArn()
The Amazon Resource Name (ARN) for the web ACL associated with an Amplify app.
- Returns:
- The Amazon Resource Name (ARN) for the web ACL associated with an Amplify app.
-
wafStatus
public final WafStatus wafStatus()
The status of the process to associate or disassociate a web ACL to an Amplify app.
If the service returns an enum value that is not available in the current SDK version,
wafStatuswill returnWafStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromwafStatusAsString().- Returns:
- The status of the process to associate or disassociate a web ACL to an Amplify app.
- See Also:
WafStatus
-
wafStatusAsString
public final String wafStatusAsString()
The status of the process to associate or disassociate a web ACL to an Amplify app.
If the service returns an enum value that is not available in the current SDK version,
wafStatuswill returnWafStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromwafStatusAsString().- Returns:
- The status of the process to associate or disassociate a web ACL to an Amplify app.
- See Also:
WafStatus
-
statusReason
public final String statusReason()
The reason for the current status of the Firewall configuration.
- Returns:
- The reason for the current status of the Firewall configuration.
-
toBuilder
public WafConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WafConfiguration.Builder,WafConfiguration>
-
builder
public static WafConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends WafConfiguration.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
-
-