Class ListInvoiceUnitsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.invoicing.model.InvoicingRequest
-
- software.amazon.awssdk.services.invoicing.model.ListInvoiceUnitsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListInvoiceUnitsRequest.Builder,ListInvoiceUnitsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListInvoiceUnitsRequest extends InvoicingRequest implements ToCopyableBuilder<ListInvoiceUnitsRequest.Builder,ListInvoiceUnitsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListInvoiceUnitsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantasOf()The state of an invoice unit at a specified time.static ListInvoiceUnitsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Filtersfilters()An optional input to the list API.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of invoice units that can be returned.StringnextToken()The next token used to indicate where the returned list should start from.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListInvoiceUnitsRequest.Builder>serializableBuilderClass()ListInvoiceUnitsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
filters
public final Filters filters()
An optional input to the list API. If multiple filters are specified, the returned list will be a configuration that match all of the provided filters. Supported filter types are
InvoiceReceivers,Names, andAccounts.- Returns:
- An optional input to the list API. If multiple filters are specified, the returned list will be a
configuration that match all of the provided filters. Supported filter types are
InvoiceReceivers,Names, andAccounts.
-
nextToken
public final String nextToken()
The next token used to indicate where the returned list should start from.
- Returns:
- The next token used to indicate where the returned list should start from.
-
maxResults
public final Integer maxResults()
The maximum number of invoice units that can be returned.
- Returns:
- The maximum number of invoice units that can be returned.
-
asOf
public final Instant asOf()
The state of an invoice unit at a specified time. You can see legacy invoice units that are currently deleted if the
AsOftime is set to before it was deleted. If anAsOfis not provided, the default value is the current time.- Returns:
- The state of an invoice unit at a specified time. You can see legacy invoice units that are currently
deleted if the
AsOftime is set to before it was deleted. If anAsOfis not provided, the default value is the current time.
-
toBuilder
public ListInvoiceUnitsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListInvoiceUnitsRequest.Builder,ListInvoiceUnitsRequest>- Specified by:
toBuilderin classInvoicingRequest
-
builder
public static ListInvoiceUnitsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListInvoiceUnitsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-