@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReportDefinition extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
ReportDefinition() |
| Modifier and Type | Method and Description |
|---|---|
ReportDefinition |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdditionalArtifacts()
A list of manifests that you want Amazon Web Services to create for this report.
|
List<String> |
getAdditionalSchemaElements()
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as
individual resource IDs.
|
String |
getBillingViewArn()
The Amazon resource name of the billing view.
|
String |
getCompression() |
String |
getFormat() |
Boolean |
getRefreshClosedReports()
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 |
getReportName() |
ReportStatus |
getReportStatus()
The status of the report.
|
String |
getReportVersioning()
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 |
getS3Bucket() |
String |
getS3Prefix() |
String |
getS3Region() |
String |
getTimeUnit() |
int |
hashCode() |
Boolean |
isRefreshClosedReports()
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdditionalArtifacts(Collection<String> additionalArtifacts)
A list of manifests that you want Amazon Web Services to create for this report.
|
void |
setAdditionalSchemaElements(Collection<String> additionalSchemaElements)
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as
individual resource IDs.
|
void |
setBillingViewArn(String billingViewArn)
The Amazon resource name of the billing view.
|
void |
setCompression(CompressionFormat compression) |
void |
setCompression(String compression) |
void |
setFormat(ReportFormat format) |
void |
setFormat(String format) |
void |
setRefreshClosedReports(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.
|
void |
setReportName(String reportName) |
void |
setReportStatus(ReportStatus reportStatus)
The status of the report.
|
void |
setReportVersioning(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.
|
void |
setReportVersioning(String 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.
|
void |
setS3Bucket(String s3Bucket) |
void |
setS3Prefix(String s3Prefix) |
void |
setS3Region(AWSRegion s3Region) |
void |
setS3Region(String s3Region) |
void |
setTimeUnit(String timeUnit) |
void |
setTimeUnit(TimeUnit timeUnit) |
String |
toString()
Returns a string representation of this object.
|
ReportDefinition |
withAdditionalArtifacts(AdditionalArtifact... additionalArtifacts)
A list of manifests that you want Amazon Web Services to create for this report.
|
ReportDefinition |
withAdditionalArtifacts(Collection<String> additionalArtifacts)
A list of manifests that you want Amazon Web Services to create for this report.
|
ReportDefinition |
withAdditionalArtifacts(String... additionalArtifacts)
A list of manifests that you want Amazon Web Services to create for this report.
|
ReportDefinition |
withAdditionalSchemaElements(Collection<String> additionalSchemaElements)
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as
individual resource IDs.
|
ReportDefinition |
withAdditionalSchemaElements(SchemaElement... additionalSchemaElements)
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as
individual resource IDs.
|
ReportDefinition |
withAdditionalSchemaElements(String... additionalSchemaElements)
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as
individual resource IDs.
|
ReportDefinition |
withBillingViewArn(String billingViewArn)
The Amazon resource name of the billing view.
|
ReportDefinition |
withCompression(CompressionFormat compression) |
ReportDefinition |
withCompression(String compression) |
ReportDefinition |
withFormat(ReportFormat format) |
ReportDefinition |
withFormat(String format) |
ReportDefinition |
withRefreshClosedReports(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.
|
ReportDefinition |
withReportName(String reportName) |
ReportDefinition |
withReportStatus(ReportStatus reportStatus)
The status of the report.
|
ReportDefinition |
withReportVersioning(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.
|
ReportDefinition |
withReportVersioning(String 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.
|
ReportDefinition |
withS3Bucket(String s3Bucket) |
ReportDefinition |
withS3Prefix(String s3Prefix) |
ReportDefinition |
withS3Region(AWSRegion s3Region) |
ReportDefinition |
withS3Region(String s3Region) |
ReportDefinition |
withTimeUnit(String timeUnit) |
ReportDefinition |
withTimeUnit(TimeUnit timeUnit) |
public void setReportName(String reportName)
reportName - public String getReportName()
public ReportDefinition withReportName(String reportName)
reportName - public ReportDefinition withTimeUnit(String timeUnit)
timeUnit - TimeUnitpublic ReportDefinition withTimeUnit(TimeUnit timeUnit)
timeUnit - TimeUnitpublic void setFormat(String format)
format - ReportFormatpublic String getFormat()
ReportFormatpublic ReportDefinition withFormat(String format)
format - ReportFormatpublic void setFormat(ReportFormat format)
format - ReportFormatpublic ReportDefinition withFormat(ReportFormat format)
format - ReportFormatpublic void setCompression(String compression)
compression - CompressionFormatpublic String getCompression()
CompressionFormatpublic ReportDefinition withCompression(String compression)
compression - CompressionFormatpublic void setCompression(CompressionFormat compression)
compression - CompressionFormatpublic ReportDefinition withCompression(CompressionFormat compression)
compression - CompressionFormatpublic List<String> getAdditionalSchemaElements()
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
SchemaElementpublic void setAdditionalSchemaElements(Collection<String> additionalSchemaElements)
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
additionalSchemaElements - A list of strings that indicate additional content that Amazon Web Services includes in the report, such
as individual resource IDs.SchemaElementpublic ReportDefinition withAdditionalSchemaElements(String... additionalSchemaElements)
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalSchemaElements(java.util.Collection) or
withAdditionalSchemaElements(java.util.Collection) if you want to override the existing values.
additionalSchemaElements - A list of strings that indicate additional content that Amazon Web Services includes in the report, such
as individual resource IDs.SchemaElementpublic ReportDefinition withAdditionalSchemaElements(Collection<String> additionalSchemaElements)
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
additionalSchemaElements - A list of strings that indicate additional content that Amazon Web Services includes in the report, such
as individual resource IDs.SchemaElementpublic ReportDefinition withAdditionalSchemaElements(SchemaElement... additionalSchemaElements)
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
additionalSchemaElements - A list of strings that indicate additional content that Amazon Web Services includes in the report, such
as individual resource IDs.SchemaElementpublic void setS3Bucket(String s3Bucket)
s3Bucket - public String getS3Bucket()
public ReportDefinition withS3Bucket(String s3Bucket)
s3Bucket - public void setS3Prefix(String s3Prefix)
s3Prefix - public String getS3Prefix()
public ReportDefinition withS3Prefix(String s3Prefix)
s3Prefix - public ReportDefinition withS3Region(String s3Region)
s3Region - AWSRegionpublic ReportDefinition withS3Region(AWSRegion s3Region)
s3Region - AWSRegionpublic List<String> getAdditionalArtifacts()
A list of manifests that you want Amazon Web Services to create for this report.
AdditionalArtifactpublic void setAdditionalArtifacts(Collection<String> additionalArtifacts)
A list of manifests that you want Amazon Web Services to create for this report.
additionalArtifacts - A list of manifests that you want Amazon Web Services to create for this report.AdditionalArtifactpublic ReportDefinition withAdditionalArtifacts(String... additionalArtifacts)
A list of manifests that you want Amazon Web Services to create for this report.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalArtifacts(java.util.Collection) or withAdditionalArtifacts(java.util.Collection)
if you want to override the existing values.
additionalArtifacts - A list of manifests that you want Amazon Web Services to create for this report.AdditionalArtifactpublic ReportDefinition withAdditionalArtifacts(Collection<String> additionalArtifacts)
A list of manifests that you want Amazon Web Services to create for this report.
additionalArtifacts - A list of manifests that you want Amazon Web Services to create for this report.AdditionalArtifactpublic ReportDefinition withAdditionalArtifacts(AdditionalArtifact... additionalArtifacts)
A list of manifests that you want Amazon Web Services to create for this report.
additionalArtifacts - A list of manifests that you want Amazon Web Services to create for this report.AdditionalArtifactpublic void setRefreshClosedReports(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.
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 Boolean getRefreshClosedReports()
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 ReportDefinition withRefreshClosedReports(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.
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 Boolean isRefreshClosedReports()
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 void setReportVersioning(String 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.
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.ReportVersioningpublic String getReportVersioning()
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.
ReportVersioningpublic ReportDefinition withReportVersioning(String 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.
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.ReportVersioningpublic void setReportVersioning(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.
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.ReportVersioningpublic ReportDefinition withReportVersioning(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.
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.ReportVersioningpublic void setBillingViewArn(String 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. The BillingViewArn for a billing group can be constructed as:
arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
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. The BillingViewArn for a billing group can be constructed as:
arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-idpublic String getBillingViewArn()
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. The BillingViewArn for a billing group can be constructed as:
arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
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. The BillingViewArn for a billing group can be constructed as:
arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-idpublic ReportDefinition withBillingViewArn(String 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. The BillingViewArn for a billing group can be constructed as:
arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
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. The BillingViewArn for a billing group can be constructed as:
arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-idpublic void setReportStatus(ReportStatus reportStatus)
The status of the report.
reportStatus - The status of the report.public ReportStatus getReportStatus()
The status of the report.
public ReportDefinition withReportStatus(ReportStatus reportStatus)
The status of the report.
reportStatus - The status of the report.public String toString()
toString in class ObjectObject.toString()public ReportDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.