@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BillingGroupCostReportResultElement extends Object implements Serializable, Cloneable, StructuredPojo
A paginated call to retrieve a list of summary reports of actual Amazon Web Services charges and the calculated Amazon Web Services charges, broken down by attributes.
Constructor and Description |
---|
BillingGroupCostReportResultElement() |
Modifier and Type | Method and Description |
---|---|
BillingGroupCostReportResultElement |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Number (ARN) that uniquely identifies the billing group.
|
List<Attribute> |
getAttributes()
The list of key-value pairs that represent the attributes by which the
BillingGroupCostReportResults
are grouped. |
String |
getAWSCost()
The actual Amazon Web Services charges for the billing group.
|
String |
getCurrency()
The displayed currency.
|
String |
getMargin()
The billing group margin.
|
String |
getMarginPercentage()
The percentage of the billing group margin.
|
String |
getProformaCost()
The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Number (ARN) that uniquely identifies the billing group.
|
void |
setAttributes(Collection<Attribute> attributes)
The list of key-value pairs that represent the attributes by which the
BillingGroupCostReportResults
are grouped. |
void |
setAWSCost(String aWSCost)
The actual Amazon Web Services charges for the billing group.
|
void |
setCurrency(String currency)
The displayed currency.
|
void |
setMargin(String margin)
The billing group margin.
|
void |
setMarginPercentage(String marginPercentage)
The percentage of the billing group margin.
|
void |
setProformaCost(String proformaCost)
The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.
|
String |
toString()
Returns a string representation of this object.
|
BillingGroupCostReportResultElement |
withArn(String arn)
The Amazon Resource Number (ARN) that uniquely identifies the billing group.
|
BillingGroupCostReportResultElement |
withAttributes(Attribute... attributes)
The list of key-value pairs that represent the attributes by which the
BillingGroupCostReportResults
are grouped. |
BillingGroupCostReportResultElement |
withAttributes(Collection<Attribute> attributes)
The list of key-value pairs that represent the attributes by which the
BillingGroupCostReportResults
are grouped. |
BillingGroupCostReportResultElement |
withAWSCost(String aWSCost)
The actual Amazon Web Services charges for the billing group.
|
BillingGroupCostReportResultElement |
withCurrency(String currency)
The displayed currency.
|
BillingGroupCostReportResultElement |
withMargin(String margin)
The billing group margin.
|
BillingGroupCostReportResultElement |
withMarginPercentage(String marginPercentage)
The percentage of the billing group margin.
|
BillingGroupCostReportResultElement |
withProformaCost(String proformaCost)
The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.
|
public void setArn(String arn)
The Amazon Resource Number (ARN) that uniquely identifies the billing group.
arn
- The Amazon Resource Number (ARN) that uniquely identifies the billing group.public String getArn()
The Amazon Resource Number (ARN) that uniquely identifies the billing group.
public BillingGroupCostReportResultElement withArn(String arn)
The Amazon Resource Number (ARN) that uniquely identifies the billing group.
arn
- The Amazon Resource Number (ARN) that uniquely identifies the billing group.public void setAWSCost(String aWSCost)
The actual Amazon Web Services charges for the billing group.
aWSCost
- The actual Amazon Web Services charges for the billing group.public String getAWSCost()
The actual Amazon Web Services charges for the billing group.
public BillingGroupCostReportResultElement withAWSCost(String aWSCost)
The actual Amazon Web Services charges for the billing group.
aWSCost
- The actual Amazon Web Services charges for the billing group.public void setProformaCost(String proformaCost)
The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.
proformaCost
- The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.public String getProformaCost()
The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.
public BillingGroupCostReportResultElement withProformaCost(String proformaCost)
The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.
proformaCost
- The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.public void setMargin(String margin)
The billing group margin.
margin
- The billing group margin.public String getMargin()
The billing group margin.
public BillingGroupCostReportResultElement withMargin(String margin)
The billing group margin.
margin
- The billing group margin.public void setMarginPercentage(String marginPercentage)
The percentage of the billing group margin.
marginPercentage
- The percentage of the billing group margin.public String getMarginPercentage()
The percentage of the billing group margin.
public BillingGroupCostReportResultElement withMarginPercentage(String marginPercentage)
The percentage of the billing group margin.
marginPercentage
- The percentage of the billing group margin.public void setCurrency(String currency)
The displayed currency.
currency
- The displayed currency.public String getCurrency()
The displayed currency.
public BillingGroupCostReportResultElement withCurrency(String currency)
The displayed currency.
currency
- The displayed currency.public List<Attribute> getAttributes()
The list of key-value pairs that represent the attributes by which the BillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3 service-level breakdown of a billing group for November 2023,
the attributes list will contain a key-value pair of "PRODUCT_NAME"
and "S3"
and a
key-value pair of "BILLING_PERIOD"
and "Nov 2023"
.
BillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3
service-level breakdown of a billing group for November 2023, the attributes list will contain a
key-value pair of "PRODUCT_NAME"
and "S3"
and a key-value pair of
"BILLING_PERIOD"
and "Nov 2023"
.public void setAttributes(Collection<Attribute> attributes)
The list of key-value pairs that represent the attributes by which the BillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3 service-level breakdown of a billing group for November 2023,
the attributes list will contain a key-value pair of "PRODUCT_NAME"
and "S3"
and a
key-value pair of "BILLING_PERIOD"
and "Nov 2023"
.
attributes
- The list of key-value pairs that represent the attributes by which the
BillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3
service-level breakdown of a billing group for November 2023, the attributes list will contain a key-value
pair of "PRODUCT_NAME"
and "S3"
and a key-value pair of
"BILLING_PERIOD"
and "Nov 2023"
.public BillingGroupCostReportResultElement withAttributes(Attribute... attributes)
The list of key-value pairs that represent the attributes by which the BillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3 service-level breakdown of a billing group for November 2023,
the attributes list will contain a key-value pair of "PRODUCT_NAME"
and "S3"
and a
key-value pair of "BILLING_PERIOD"
and "Nov 2023"
.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The list of key-value pairs that represent the attributes by which the
BillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3
service-level breakdown of a billing group for November 2023, the attributes list will contain a key-value
pair of "PRODUCT_NAME"
and "S3"
and a key-value pair of
"BILLING_PERIOD"
and "Nov 2023"
.public BillingGroupCostReportResultElement withAttributes(Collection<Attribute> attributes)
The list of key-value pairs that represent the attributes by which the BillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3 service-level breakdown of a billing group for November 2023,
the attributes list will contain a key-value pair of "PRODUCT_NAME"
and "S3"
and a
key-value pair of "BILLING_PERIOD"
and "Nov 2023"
.
attributes
- The list of key-value pairs that represent the attributes by which the
BillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3
service-level breakdown of a billing group for November 2023, the attributes list will contain a key-value
pair of "PRODUCT_NAME"
and "S3"
and a key-value pair of
"BILLING_PERIOD"
and "Nov 2023"
.public String toString()
toString
in class Object
Object.toString()
public BillingGroupCostReportResultElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.