Class ListResourcesForWebAclRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ListResourcesForWebAclRequest.Builder,ListResourcesForWebAclRequest>

@Generated("software.amazon.awssdk:codegen") public final class ListResourcesForWebAclRequest extends Wafv2Request implements ToCopyableBuilder<ListResourcesForWebAclRequest.Builder,ListResourcesForWebAclRequest>
  • Method Details

    • webACLArn

      public final String webACLArn()

      The Amazon Resource Name (ARN) of the web ACL.

      Returns:
      The Amazon Resource Name (ARN) of the web ACL.
    • resourceType

      public final ResourceType resourceType()

      Retrieves the web ACLs that are used by the specified resource type.

      For Amazon CloudFront, don't use this call. Instead, use the CloudFront call ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId in the Amazon CloudFront API Reference.

      If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER.

      Default: APPLICATION_LOAD_BALANCER

      If the service returns an enum value that is not available in the current SDK version, resourceType will return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from resourceTypeAsString().

      Returns:
      Retrieves the web ACLs that are used by the specified resource type.

      For Amazon CloudFront, don't use this call. Instead, use the CloudFront call ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId in the Amazon CloudFront API Reference.

      If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER.

      Default: APPLICATION_LOAD_BALANCER

      See Also:
    • resourceTypeAsString

      public final String resourceTypeAsString()

      Retrieves the web ACLs that are used by the specified resource type.

      For Amazon CloudFront, don't use this call. Instead, use the CloudFront call ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId in the Amazon CloudFront API Reference.

      If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER.

      Default: APPLICATION_LOAD_BALANCER

      If the service returns an enum value that is not available in the current SDK version, resourceType will return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from resourceTypeAsString().

      Returns:
      Retrieves the web ACLs that are used by the specified resource type.

      For Amazon CloudFront, don't use this call. Instead, use the CloudFront call ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId in the Amazon CloudFront API Reference.

      If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER.

      Default: APPLICATION_LOAD_BALANCER

      See Also:
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ListResourcesForWebAclRequest.Builder,ListResourcesForWebAclRequest>
      Specified by:
      toBuilder in class Wafv2Request
    • builder

      public static ListResourcesForWebAclRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListResourcesForWebAclRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo