@Generated(value="software.amazon.awssdk:codegen") public final class ViewBillingRequest extends Route53DomainsRequest implements ToCopyableBuilder<ViewBillingRequest.Builder,ViewBillingRequest>
The ViewBilling request includes the following elements.
Modifier and Type | Class and Description |
---|---|
static interface |
ViewBillingRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ViewBillingRequest.Builder |
builder() |
Instant |
end()
The end date and time for the time period for which you want a list of billing records.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
marker()
For an initial request for a list of billing records, omit this element.
|
Integer |
maxItems()
The number of billing records to be returned.
|
static Class<? extends ViewBillingRequest.Builder> |
serializableBuilderClass() |
Instant |
start()
The beginning date and time for the time period for which you want a list of billing records.
|
ViewBillingRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public Instant start()
The beginning date and time for the time period for which you want a list of billing records. Specify the date in Unix time format.
public Instant end()
The end date and time for the time period for which you want a list of billing records. Specify the date in Unix time format.
public String marker()
For an initial request for a list of billing records, omit this element. If the number of billing records that
are associated with the current AWS account during the specified period is greater than the value that you
specified for MaxItems
, you can use Marker
to return additional billing records. Get
the value of NextPageMarker
from the previous response, and submit another request that includes the
value of NextPageMarker
in the Marker
element.
Constraints: The marker must match the value of NextPageMarker
that was returned in the previous
response.
MaxItems
, you can use Marker
to return additional
billing records. Get the value of NextPageMarker
from the previous response, and submit
another request that includes the value of NextPageMarker
in the Marker
element.
Constraints: The marker must match the value of NextPageMarker
that was returned in the
previous response.
public Integer maxItems()
The number of billing records to be returned.
Default: 20
Default: 20
public ViewBillingRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ViewBillingRequest.Builder,ViewBillingRequest>
toBuilder
in class Route53DomainsRequest
public static ViewBillingRequest.Builder builder()
public static Class<? extends ViewBillingRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.