Class ListSettlementRecordsRequest

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

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

    • timeWindow

      public final TimeWindow timeWindow()

      The time range for the query. Specify start and end timestamps.

      Returns:
      The time range for the query. Specify start and end timestamps.
    • scope

      public final Scope scope()

      Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).

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

      Returns:
      Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).
      See Also:
    • scopeAsString

      public final String scopeAsString()

      Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).

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

      Returns:
      Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).
      See Also:
    • currency

      public final Currency currency()

      The currency for the amounts in the response.

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

      Returns:
      The currency for the amounts in the response.
      See Also:
    • currencyAsString

      public final String currencyAsString()

      The currency for the amounts in the response.

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

      Returns:
      The currency for the amounts in the response.
      See Also:
    • hasFilters

      public final boolean hasFilters()
      For responses, this returns true if the service returned a value for the Filters property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • filters

      public final List<MonetizationFilter> filters()

      Optional filters to narrow the results. You can filter by payer address, status, source name, network, or other settlement fields.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasFilters() method.

      Returns:
      Optional filters to narrow the results. You can filter by payer address, status, source name, network, or other settlement fields.
    • sortBy

      public final SettlementSortBy sortBy()

      The field to sort settlement records by: TIMESTAMP, AMOUNT, NAME, or STATUS.

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

      Returns:
      The field to sort settlement records by: TIMESTAMP, AMOUNT, NAME, or STATUS.
      See Also:
    • sortByAsString

      public final String sortByAsString()

      The field to sort settlement records by: TIMESTAMP, AMOUNT, NAME, or STATUS.

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

      Returns:
      The field to sort settlement records by: TIMESTAMP, AMOUNT, NAME, or STATUS.
      See Also:
    • sortOrder

      public final SortOrder sortOrder()

      The sort order: ASC for ascending or DESC for descending.

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

      Returns:
      The sort order: ASC for ascending or DESC for descending.
      See Also:
    • sortOrderAsString

      public final String sortOrderAsString()

      The sort order: ASC for ascending or DESC for descending.

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

      Returns:
      The sort order: ASC for ascending or DESC for descending.
      See Also:
    • limit

      public final Integer limit()

      The maximum number of settlement records to return. Minimum: 1. Maximum: 100.

      Returns:
      The maximum number of settlement records to return. Minimum: 1. Maximum: 100.
    • nextMarker

      public final String nextMarker()

      When you get a paginated response, this marker indicates that additional results are available.

      Returns:
      When you get a paginated response, this marker indicates that additional results are available.
    • toBuilder

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

      public static ListSettlementRecordsRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListSettlementRecordsRequest.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