@Generated(value="software.amazon.awssdk:codegen") public final class ListProtectionsRequest extends ShieldRequest implements ToCopyableBuilder<ListProtectionsRequest.Builder,ListProtectionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListProtectionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListProtectionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of Protection objects to return.
|
String |
nextToken()
The
ListProtectionsRequest.NextToken value from a previous call to ListProtections. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListProtectionsRequest.Builder> |
serializableBuilderClass() |
ListProtectionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String nextToken()
The ListProtectionsRequest.NextToken value from a previous call to ListProtections.
Pass null if this is the first call.
ListProtectionsRequest.NextToken value from a previous call to
ListProtections. Pass null if this is the first call.public final Integer maxResults()
The maximum number of Protection objects to return. If you leave this blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of
objects returned could be less than MaxResults, even if there are still more objects yet to return.
If there are more objects to return, Shield Advanced returns a value in NextToken that you can use
in your next request, to get the next batch of objects.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number
of objects returned could be less than MaxResults, even if there are still more objects yet
to return. If there are more objects to return, Shield Advanced returns a value in NextToken
that you can use in your next request, to get the next batch of objects.
public ListProtectionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListProtectionsRequest.Builder,ListProtectionsRequest>toBuilder in class ShieldRequestpublic static ListProtectionsRequest.Builder builder()
public static Class<? extends ListProtectionsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.