@Generated(value="software.amazon.awssdk:codegen") public final class ReportDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReportDefinition.Builder,ReportDefinition>
The definition of AWS 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReportDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AdditionalArtifact> |
additionalArtifacts()
A list of manifests that you want Amazon Web Services to create for this report.
|
List<String> |
additionalArtifactsAsStrings()
A list of manifests that you want Amazon Web Services to create for this report.
|
List<SchemaElement> |
additionalSchemaElements()
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as
individual resource IDs.
|
List<String> |
additionalSchemaElementsAsStrings()
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as
individual resource IDs.
|
String |
billingViewArn()
The Amazon resource name of the billing view.
|
static ReportDefinition.Builder |
builder() |
CompressionFormat |
compression()
Returns the value of the Compression property for this object.
|
String |
compressionAsString()
Returns the value of the Compression property for this object.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ReportFormat |
format()
Returns the value of the Format property for this object.
|
String |
formatAsString()
Returns the value of the Format property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdditionalArtifacts()
For responses, this returns true if the service returned a value for the AdditionalArtifacts property.
|
boolean |
hasAdditionalSchemaElements()
For responses, this returns true if the service returned a value for the AdditionalSchemaElements property.
|
int |
hashCode() |
Boolean |
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.
|
String |
reportName()
Returns the value of the ReportName property for this object.
|
ReportVersioning |
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.
|
String |
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.
|
String |
s3Bucket()
Returns the value of the S3Bucket property for this object.
|
String |
s3Prefix()
Returns the value of the S3Prefix property for this object.
|
AWSRegion |
s3Region()
Returns the value of the S3Region property for this object.
|
String |
s3RegionAsString()
Returns the value of the S3Region property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReportDefinition.Builder> |
serializableBuilderClass() |
TimeUnit |
timeUnit()
Returns the value of the TimeUnit property for this object.
|
String |
timeUnitAsString()
Returns the value of the TimeUnit property for this object.
|
ReportDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String reportName()
public final TimeUnit timeUnit()
If the service returns an enum value that is not available in the current SDK version, timeUnit will
return TimeUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
timeUnitAsString().
TimeUnitpublic final String timeUnitAsString()
If the service returns an enum value that is not available in the current SDK version, timeUnit will
return TimeUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
timeUnitAsString().
TimeUnitpublic final ReportFormat format()
If the service returns an enum value that is not available in the current SDK version, format will
return ReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
ReportFormatpublic final String formatAsString()
If the service returns an enum value that is not available in the current SDK version, format will
return ReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
ReportFormatpublic final CompressionFormat compression()
If the service returns an enum value that is not available in the current SDK version, compression will
return CompressionFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
compressionAsString().
CompressionFormatpublic final String compressionAsString()
If the service returns an enum value that is not available in the current SDK version, compression will
return CompressionFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
compressionAsString().
CompressionFormatpublic final List<SchemaElement> 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.
public final boolean hasAdditionalSchemaElements()
isEmpty() 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.public final List<String> 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.
public final String s3Bucket()
public final String s3Prefix()
public final AWSRegion s3Region()
If the service returns an enum value that is not available in the current SDK version, s3Region will
return AWSRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
s3RegionAsString().
AWSRegionpublic final String s3RegionAsString()
If the service returns an enum value that is not available in the current SDK version, s3Region will
return AWSRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
s3RegionAsString().
AWSRegionpublic final List<AdditionalArtifact> 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.
public final boolean hasAdditionalArtifacts()
isEmpty() 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.public final List<String> 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.
public final Boolean 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.
public final ReportVersioning 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 return ReportVersioning.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from reportVersioningAsString().
ReportVersioningpublic final String 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 return ReportVersioning.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from reportVersioningAsString().
ReportVersioningpublic final String billingViewArn()
The Amazon resource name of the billing view. You can get this value by using the billing view service public APIs.
public ReportDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReportDefinition.Builder,ReportDefinition>public static ReportDefinition.Builder builder()
public static Class<? extends ReportDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.