@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBillingGroupCostReportRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetBillingGroupCostReportRequest() |
Modifier and Type | Method and Description |
---|---|
GetBillingGroupCostReportRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Number (ARN) that uniquely identifies the billing group.
|
BillingPeriodRange |
getBillingPeriodRange()
A time range for which the margin summary is effective.
|
List<String> |
getGroupBy()
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for
the billing group.
|
Integer |
getMaxResults()
The maximum number of margin summary reports to retrieve.
|
String |
getNextToken()
The pagination token used on subsequent calls to get reports.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Number (ARN) that uniquely identifies the billing group.
|
void |
setBillingPeriodRange(BillingPeriodRange billingPeriodRange)
A time range for which the margin summary is effective.
|
void |
setGroupBy(Collection<String> groupBy)
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for
the billing group.
|
void |
setMaxResults(Integer maxResults)
The maximum number of margin summary reports to retrieve.
|
void |
setNextToken(String nextToken)
The pagination token used on subsequent calls to get reports.
|
String |
toString()
Returns a string representation of this object.
|
GetBillingGroupCostReportRequest |
withArn(String arn)
The Amazon Resource Number (ARN) that uniquely identifies the billing group.
|
GetBillingGroupCostReportRequest |
withBillingPeriodRange(BillingPeriodRange billingPeriodRange)
A time range for which the margin summary is effective.
|
GetBillingGroupCostReportRequest |
withGroupBy(Collection<String> groupBy)
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for
the billing group.
|
GetBillingGroupCostReportRequest |
withGroupBy(GroupByAttributeName... groupBy)
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for
the billing group.
|
GetBillingGroupCostReportRequest |
withGroupBy(String... groupBy)
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for
the billing group.
|
GetBillingGroupCostReportRequest |
withMaxResults(Integer maxResults)
The maximum number of margin summary reports to retrieve.
|
GetBillingGroupCostReportRequest |
withNextToken(String nextToken)
The pagination token used on subsequent calls to get reports.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 GetBillingGroupCostReportRequest 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 setBillingPeriodRange(BillingPeriodRange billingPeriodRange)
A time range for which the margin summary is effective. You can specify up to 12 months.
billingPeriodRange
- A time range for which the margin summary is effective. You can specify up to 12 months.public BillingPeriodRange getBillingPeriodRange()
A time range for which the margin summary is effective. You can specify up to 12 months.
public GetBillingGroupCostReportRequest withBillingPeriodRange(BillingPeriodRange billingPeriodRange)
A time range for which the margin summary is effective. You can specify up to 12 months.
billingPeriodRange
- A time range for which the margin summary is effective. You can specify up to 12 months.public List<String> getGroupBy()
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
GroupByAttributeName
public void setGroupBy(Collection<String> groupBy)
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
groupBy
- A list of strings that specify the attributes that are used to break down costs in the margin summary
reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the
billing period.GroupByAttributeName
public GetBillingGroupCostReportRequest withGroupBy(String... groupBy)
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
NOTE: This method appends the values to the existing list (if any). Use
setGroupBy(java.util.Collection)
or withGroupBy(java.util.Collection)
if you want to override
the existing values.
groupBy
- A list of strings that specify the attributes that are used to break down costs in the margin summary
reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the
billing period.GroupByAttributeName
public GetBillingGroupCostReportRequest withGroupBy(Collection<String> groupBy)
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
groupBy
- A list of strings that specify the attributes that are used to break down costs in the margin summary
reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the
billing period.GroupByAttributeName
public GetBillingGroupCostReportRequest withGroupBy(GroupByAttributeName... groupBy)
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
groupBy
- A list of strings that specify the attributes that are used to break down costs in the margin summary
reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the
billing period.GroupByAttributeName
public void setMaxResults(Integer maxResults)
The maximum number of margin summary reports to retrieve.
maxResults
- The maximum number of margin summary reports to retrieve.public Integer getMaxResults()
The maximum number of margin summary reports to retrieve.
public GetBillingGroupCostReportRequest withMaxResults(Integer maxResults)
The maximum number of margin summary reports to retrieve.
maxResults
- The maximum number of margin summary reports to retrieve.public void setNextToken(String nextToken)
The pagination token used on subsequent calls to get reports.
nextToken
- The pagination token used on subsequent calls to get reports.public String getNextToken()
The pagination token used on subsequent calls to get reports.
public GetBillingGroupCostReportRequest withNextToken(String nextToken)
The pagination token used on subsequent calls to get reports.
nextToken
- The pagination token used on subsequent calls to get reports.public String toString()
toString
in class Object
Object.toString()
public GetBillingGroupCostReportRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()