Class ReportDefinition
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReportDefinition.Builder,ReportDefinition>
The definition of Amazon Web Services Cost and Usage Report. You can specify the report name, time unit, report format, compression format, S3 bucket, additional artifacts, and schema elements in the definition.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal List<AdditionalArtifact> A list of manifests that you want Amazon Web Services to create for this report.A list of manifests that you want Amazon Web Services to create for this report.final List<SchemaElement> A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.final StringThe Amazon resource name of the billing view.static ReportDefinition.Builderbuilder()final CompressionFormatReturns the value of the Compression property for this object.final StringReturns the value of the Compression property for this object.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ReportFormatformat()Returns the value of the Format property for this object.final StringReturns the value of the Format property for this object.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the AdditionalArtifacts property.final booleanFor responses, this returns true if the service returned a value for the AdditionalSchemaElements property.final inthashCode()final BooleanWhether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months.final StringReturns the value of the ReportName property for this object.final ReportStatusThe status of the report.final ReportVersioningWhether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.final StringWhether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.final Strings3Bucket()Returns the value of the S3Bucket property for this object.final Strings3Prefix()Returns the value of the S3Prefix property for this object.final AWSRegions3Region()Returns the value of the S3Region property for this object.final StringReturns the value of the S3Region property for this object.static Class<? extends ReportDefinition.Builder> final TimeUnittimeUnit()Returns the value of the TimeUnit property for this object.final StringReturns the value of the TimeUnit property for this object.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
reportName
Returns the value of the ReportName property for this object.- Returns:
- The value of the ReportName property for this object.
-
timeUnit
Returns the value of the TimeUnit property for this object.If the service returns an enum value that is not available in the current SDK version,
timeUnitwill returnTimeUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimeUnitAsString().- Returns:
- The value of the TimeUnit property for this object.
- See Also:
-
timeUnitAsString
Returns the value of the TimeUnit property for this object.If the service returns an enum value that is not available in the current SDK version,
timeUnitwill returnTimeUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimeUnitAsString().- Returns:
- The value of the TimeUnit property for this object.
- See Also:
-
format
Returns the value of the Format property for this object.If the service returns an enum value that is not available in the current SDK version,
formatwill returnReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The value of the Format property for this object.
- See Also:
-
formatAsString
Returns the value of the Format property for this object.If the service returns an enum value that is not available in the current SDK version,
formatwill returnReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The value of the Format property for this object.
- See Also:
-
compression
Returns the value of the Compression property for this object.If the service returns an enum value that is not available in the current SDK version,
compressionwill returnCompressionFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcompressionAsString().- Returns:
- The value of the Compression property for this object.
- See Also:
-
compressionAsString
Returns the value of the Compression property for this object.If the service returns an enum value that is not available in the current SDK version,
compressionwill returnCompressionFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcompressionAsString().- Returns:
- The value of the Compression property for this object.
- See Also:
-
additionalSchemaElements
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
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
hasAdditionalSchemaElements()method.- Returns:
- A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
-
hasAdditionalSchemaElements
public final boolean hasAdditionalSchemaElements()For responses, this returns true if the service returned a value for the AdditionalSchemaElements property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
additionalSchemaElementsAsStrings
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
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
hasAdditionalSchemaElements()method.- Returns:
- A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
-
s3Bucket
Returns the value of the S3Bucket property for this object.- Returns:
- The value of the S3Bucket property for this object.
-
s3Prefix
Returns the value of the S3Prefix property for this object.- Returns:
- The value of the S3Prefix property for this object.
-
s3Region
Returns the value of the S3Region property for this object.If the service returns an enum value that is not available in the current SDK version,
s3Regionwill returnAWSRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3RegionAsString().- Returns:
- The value of the S3Region property for this object.
- See Also:
-
s3RegionAsString
Returns the value of the S3Region property for this object.If the service returns an enum value that is not available in the current SDK version,
s3Regionwill returnAWSRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3RegionAsString().- Returns:
- The value of the S3Region property for this object.
- See Also:
-
additionalArtifacts
A list of manifests that you want Amazon Web Services to create for this report.
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
hasAdditionalArtifacts()method.- Returns:
- A list of manifests that you want Amazon Web Services to create for this report.
-
hasAdditionalArtifacts
public final boolean hasAdditionalArtifacts()For responses, this returns true if the service returned a value for the AdditionalArtifacts property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
additionalArtifactsAsStrings
A list of manifests that you want Amazon Web Services to create for this report.
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
hasAdditionalArtifacts()method.- Returns:
- A list of manifests that you want Amazon Web Services to create for this report.
-
refreshClosedReports
Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees.
- Returns:
- Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees.
-
reportVersioning
Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.
If the service returns an enum value that is not available in the current SDK version,
reportVersioningwill returnReportVersioning.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreportVersioningAsString().- Returns:
- Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.
- See Also:
-
reportVersioningAsString
Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.
If the service returns an enum value that is not available in the current SDK version,
reportVersioningwill returnReportVersioning.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreportVersioningAsString().- Returns:
- Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.
- See Also:
-
billingViewArn
The Amazon resource name of the billing view. The
BillingViewArnis needed to create Amazon Web Services Cost and Usage Report for each billing group maintained in the Amazon Web Services Billing Conductor service. TheBillingViewArnfor a billing group can be constructed as:arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id- Returns:
- The Amazon resource name of the billing view. The
BillingViewArnis needed to create Amazon Web Services Cost and Usage Report for each billing group maintained in the Amazon Web Services Billing Conductor service. TheBillingViewArnfor a billing group can be constructed as:arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
-
reportStatus
The status of the report.
- Returns:
- The status of the report.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ReportDefinition.Builder,ReportDefinition> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-