@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSavingsPlansUtilizationDetailsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetSavingsPlansUtilizationDetailsRequest() |
Modifier and Type | Method and Description |
---|---|
GetSavingsPlansUtilizationDetailsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Expression |
getFilter()
Filters Savings Plans utilization coverage data for active Savings Plans dimensions.
|
Integer |
getMaxResults()
The number of items to be returned in a response.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
DateInterval |
getTimePeriod()
The time period that you want the usage and costs for.
|
int |
hashCode() |
void |
setFilter(Expression filter)
Filters Savings Plans utilization coverage data for active Savings Plans dimensions.
|
void |
setMaxResults(Integer maxResults)
The number of items to be returned in a response.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
void |
setTimePeriod(DateInterval timePeriod)
The time period that you want the usage and costs for.
|
String |
toString()
Returns a string representation of this object.
|
GetSavingsPlansUtilizationDetailsRequest |
withFilter(Expression filter)
Filters Savings Plans utilization coverage data for active Savings Plans dimensions.
|
GetSavingsPlansUtilizationDetailsRequest |
withMaxResults(Integer maxResults)
The number of items to be returned in a response.
|
GetSavingsPlansUtilizationDetailsRequest |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
GetSavingsPlansUtilizationDetailsRequest |
withTimePeriod(DateInterval timePeriod)
The time period that you want the usage and costs for.
|
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 GetSavingsPlansUtilizationDetailsRequest()
public void setTimePeriod(DateInterval timePeriod)
The time period that you want the usage and costs for. The Start
date must be within 13 months. The
End
date must be after the Start
date, and before the current date. Future dates can't
be used as an End
date.
timePeriod
- The time period that you want the usage and costs for. The Start
date must be within 13
months. The End
date must be after the Start
date, and before the current date.
Future dates can't be used as an End
date.public DateInterval getTimePeriod()
The time period that you want the usage and costs for. The Start
date must be within 13 months. The
End
date must be after the Start
date, and before the current date. Future dates can't
be used as an End
date.
Start
date must be within 13
months. The End
date must be after the Start
date, and before the current date.
Future dates can't be used as an End
date.public GetSavingsPlansUtilizationDetailsRequest withTimePeriod(DateInterval timePeriod)
The time period that you want the usage and costs for. The Start
date must be within 13 months. The
End
date must be after the Start
date, and before the current date. Future dates can't
be used as an End
date.
timePeriod
- The time period that you want the usage and costs for. The Start
date must be within 13
months. The End
date must be after the Start
date, and before the current date.
Future dates can't be used as an End
date.public void setFilter(Expression filter)
Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilizationDetails
uses the same Expression
object as the other operations, but only AND
is supported among each dimension.
filter
- Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data
with the following dimensions:
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilizationDetails
uses the same Expression object as the other operations, but only AND
is supported among each
dimension.
public Expression getFilter()
Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilizationDetails
uses the same Expression
object as the other operations, but only AND
is supported among each dimension.
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilizationDetails
uses the same Expression object as the other operations, but only AND
is supported among each
dimension.
public GetSavingsPlansUtilizationDetailsRequest withFilter(Expression filter)
Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilizationDetails
uses the same Expression
object as the other operations, but only AND
is supported among each dimension.
filter
- Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data
with the following dimensions:
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilizationDetails
uses the same Expression object as the other operations, but only AND
is supported among each
dimension.
public void setNextToken(String nextToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextToken
- The token to retrieve the next set of results. Amazon Web Services provides the token when the response
from a previous call has more results than the maximum page size.public String getNextToken()
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
public GetSavingsPlansUtilizationDetailsRequest withNextToken(String nextToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextToken
- The token to retrieve the next set of results. Amazon Web Services provides the token when the response
from a previous call has more results than the maximum page size.public void setMaxResults(Integer maxResults)
The number of items to be returned in a response. The default is 20
, with a minimum value of
1
.
maxResults
- The number of items to be returned in a response. The default is 20
, with a minimum value of
1
.public Integer getMaxResults()
The number of items to be returned in a response. The default is 20
, with a minimum value of
1
.
20
, with a minimum value of
1
.public GetSavingsPlansUtilizationDetailsRequest withMaxResults(Integer maxResults)
The number of items to be returned in a response. The default is 20
, with a minimum value of
1
.
maxResults
- The number of items to be returned in a response. The default is 20
, with a minimum value of
1
.public String toString()
toString
in class Object
Object.toString()
public GetSavingsPlansUtilizationDetailsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()