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 String
The Amazon resource name of the billing view.static ReportDefinition.Builder
builder()
final CompressionFormat
Returns the value of the Compression property for this object.final String
Returns the value of the Compression property for this object.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ReportFormat
format()
Returns the value of the Format property for this object.final String
Returns the value of the Format property for this object.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the AdditionalArtifacts property.final boolean
For responses, this returns true if the service returned a value for the AdditionalSchemaElements property.final int
hashCode()
final Boolean
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.final String
Returns the value of the ReportName property for this object.final ReportStatus
The status of the report.final 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.final String
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.final String
s3Bucket()
Returns the value of the S3Bucket property for this object.final String
s3Prefix()
Returns the value of the S3Prefix property for this object.final AWSRegion
s3Region()
Returns the value of the S3Region property for this object.final String
Returns the value of the S3Region property for this object.static Class
<? extends ReportDefinition.Builder> final TimeUnit
timeUnit()
Returns the value of the TimeUnit property for this object.final String
Returns 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 String
toString()
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,
timeUnit
will 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,
timeUnit
will 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,
format
will 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,
format
will 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,
compression
will 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,
compression
will 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,
s3Region
will 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,
s3Region
will 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,
reportVersioning
will 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,
reportVersioning
will 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
BillingViewArn
is needed to create Amazon Web Services Cost and Usage Report for each billing group maintained in the Amazon Web Services Billing Conductor service. TheBillingViewArn
for 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
BillingViewArn
is needed to create Amazon Web Services Cost and Usage Report for each billing group maintained in the Amazon Web Services Billing Conductor service. TheBillingViewArn
for 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ReportDefinition.Builder,
ReportDefinition> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-