Class GetWebAclResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.wafv2.model.Wafv2Response
-
- software.amazon.awssdk.services.wafv2.model.GetWebAclResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetWebAclResponse.Builder,GetWebAclResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetWebAclResponse extends Wafv2Response implements ToCopyableBuilder<GetWebAclResponse.Builder,GetWebAclResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetWebAclResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationIntegrationURL()The URL to use in SDK integrations with Amazon Web Services managed rule groups.static GetWebAclResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlockToken()A token used for optimistic locking.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetWebAclResponse.Builder>serializableBuilderClass()GetWebAclResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.WebACLwebACL()The web ACL specification.-
Methods inherited from class software.amazon.awssdk.services.wafv2.model.Wafv2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
webACL
public final WebACL webACL()
The web ACL specification. You can modify the settings in this web ACL and use it to update this web ACL or create a new one.
- Returns:
- The web ACL specification. You can modify the settings in this web ACL and use it to update this web ACL or create a new one.
-
lockToken
public final String lockToken()
A token used for optimistic locking. WAF returns a token to your
getandlistrequests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations likeupdateanddelete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with aWAFOptimisticLockException. If this happens, perform anotherget, and use the new token returned by that operation.- Returns:
- A token used for optimistic locking. WAF returns a token to your
getandlistrequests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations likeupdateanddelete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with aWAFOptimisticLockException. If this happens, perform anotherget, and use the new token returned by that operation.
-
applicationIntegrationURL
public final String applicationIntegrationURL()
The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group
AWSManagedRulesATPRuleSetand the account creation fraud prevention managed rule groupAWSManagedRulesACFPRuleSet. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see WAF client application integration in the WAF Developer Guide.- Returns:
- The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use
the integration SDKs with the account takeover prevention managed rule group
AWSManagedRulesATPRuleSetand the account creation fraud prevention managed rule groupAWSManagedRulesACFPRuleSet. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see WAF client application integration in the WAF Developer Guide.
-
toBuilder
public GetWebAclResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetWebAclResponse.Builder,GetWebAclResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetWebAclResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetWebAclResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-