Class DateInterval
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.DateInterval
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DateInterval.Builder,DateInterval>
@Generated("software.amazon.awssdk:codegen") public final class DateInterval extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DateInterval.Builder,DateInterval>
The time period of the request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDateInterval.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DateInterval.Builderbuilder()Stringend()The end of the time period.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DateInterval.Builder>serializableBuilderClass()Stringstart()The beginning of the time period.DateInterval.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
start
public final String start()
The beginning of the time period. The start date is inclusive. For example, if
startis2017-01-01, Amazon Web Services retrieves cost and usage data starting at2017-01-01up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.- Returns:
- The beginning of the time period. The start date is inclusive. For example, if
startis2017-01-01, Amazon Web Services retrieves cost and usage data starting at2017-01-01up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.
-
end
public final String end()
The end of the time period. The end date is exclusive. For example, if
endis2017-05-01, Amazon Web Services retrieves cost and usage data from the start date up to, but not including,2017-05-01.- Returns:
- The end of the time period. The end date is exclusive. For example, if
endis2017-05-01, Amazon Web Services retrieves cost and usage data from the start date up to, but not including,2017-05-01.
-
toBuilder
public DateInterval.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DateInterval.Builder,DateInterval>
-
builder
public static DateInterval.Builder builder()
-
serializableBuilderClass
public static Class<? extends DateInterval.Builder> serializableBuilderClass()
-
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.
-
-