Class ListDistributionsByWebAclIdRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest
-
- software.amazon.awssdk.services.cloudfront.model.ListDistributionsByWebAclIdRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<ListDistributionsByWebAclIdRequest.Builder,ListDistributionsByWebAclIdRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListDistributionsByWebAclIdRequest extends CloudFrontRequest implements ToCopyableBuilder<ListDistributionsByWebAclIdRequest.Builder,ListDistributionsByWebAclIdRequest>
The request to list distributions that are associated with a specified WAF web ACL.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ListDistributionsByWebAclIdRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListDistributionsByWebAclIdRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
marker()
UseMarker
andMaxItems
to control pagination of results.String
maxItems()
The maximum number of distributions that you want CloudFront to return in the response body.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ListDistributionsByWebAclIdRequest.Builder>
serializableBuilderClass()
ListDistributionsByWebAclIdRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
webACLId()
The ID of the WAF web ACL that you want to list the associated distributions.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
marker
public final String marker()
Use
Marker
andMaxItems
to control pagination of results. If you have more thanMaxItems
distributions that satisfy the request, the response includes aNextMarker
element. To get the next page of results, submit another request. For the value ofMarker
, specify the value ofNextMarker
from the last response. (For the first request, omitMarker
.)- Returns:
- Use
Marker
andMaxItems
to control pagination of results. If you have more thanMaxItems
distributions that satisfy the request, the response includes aNextMarker
element. To get the next page of results, submit another request. For the value ofMarker
, specify the value ofNextMarker
from the last response. (For the first request, omitMarker
.)
-
maxItems
public final String maxItems()
The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
- Returns:
- The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
-
webACLId
public final String webACLId()
The ID of the WAF web ACL that you want to list the associated distributions. If you specify "null" for the ID, the request returns a list of the distributions that aren't associated with a web ACL.
For WAFV2, this is the ARN of the web ACL, such as
arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
.For WAF Classic, this is the ID of the web ACL, such as
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
.- Returns:
- The ID of the WAF web ACL that you want to list the associated distributions. If you specify "null" for
the ID, the request returns a list of the distributions that aren't associated with a web ACL.
For WAFV2, this is the ARN of the web ACL, such as
arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
.For WAF Classic, this is the ID of the web ACL, such as
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
.
-
toBuilder
public ListDistributionsByWebAclIdRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ListDistributionsByWebAclIdRequest.Builder,ListDistributionsByWebAclIdRequest>
- Specified by:
toBuilder
in classCloudFrontRequest
-
builder
public static ListDistributionsByWebAclIdRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListDistributionsByWebAclIdRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-