@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
- TimeUnit
public ReportDefinition withTimeUnit(TimeUnit timeUnit)
timeUnit
- TimeUnit
public void setFormat(String format)
format
- ReportFormat
public String getFormat()
ReportFormat
public ReportDefinition withFormat(String format)
format
- ReportFormat
public void setFormat(ReportFormat format)
format
- ReportFormat
public ReportDefinition withFormat(ReportFormat format)
format
- ReportFormat
public void setCompression(String compression)
compression
- CompressionFormat
public String getCompression()
CompressionFormat
public ReportDefinition withCompression(String compression)
compression
- CompressionFormat
public void setCompression(CompressionFormat compression)
compression
- CompressionFormat
public ReportDefinition withCompression(CompressionFormat compression)
compression
- CompressionFormat
public List<String> getAdditionalSchemaElements()
A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
SchemaElement
public 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.SchemaElement
public 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.SchemaElement
public 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.SchemaElement
public 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.SchemaElement
public 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
- AWSRegion
public ReportDefinition withS3Region(AWSRegion s3Region)
s3Region
- AWSRegion
public List<String> getAdditionalArtifacts()
A list of manifests that you want Amazon Web Services to create for this report.
AdditionalArtifact
public 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.AdditionalArtifact
public 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.AdditionalArtifact
public 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.AdditionalArtifact
public 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.AdditionalArtifact
public 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.ReportVersioning
public 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.
ReportVersioning
public 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.ReportVersioning
public 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.ReportVersioning
public 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.ReportVersioning
public 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-id
public 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-id
public 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-id
public 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 Object
Object.toString()
public ReportDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.