@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) |
List<String> |
getDataType()
The data type.
|
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.
|
SortDefinition |
getSortBy()
The value that you want to sort the data by.
|
DateInterval |
getTimePeriod()
The time period that you want the usage and costs for.
|
int |
hashCode() |
void |
setDataType(Collection<String> dataType)
The data type.
|
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 |
setSortBy(SortDefinition sortBy)
The value that you want to sort the data by.
|
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 |
withDataType(Collection<String> dataType)
The data type.
|
GetSavingsPlansUtilizationDetailsRequest |
withDataType(SavingsPlansDataType... dataType)
The data type.
|
GetSavingsPlansUtilizationDetailsRequest |
withDataType(String... dataType)
The data type.
|
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 |
withSortBy(SortDefinition sortBy)
The value that you want to sort the data by.
|
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 List<String> getDataType()
The data type.
SavingsPlansDataType
public void setDataType(Collection<String> dataType)
The data type.
dataType
- The data type.SavingsPlansDataType
public GetSavingsPlansUtilizationDetailsRequest withDataType(String... dataType)
The data type.
NOTE: This method appends the values to the existing list (if any). Use
setDataType(java.util.Collection)
or withDataType(java.util.Collection)
if you want to override
the existing values.
dataType
- The data type.SavingsPlansDataType
public GetSavingsPlansUtilizationDetailsRequest withDataType(Collection<String> dataType)
The data type.
dataType
- The data type.SavingsPlansDataType
public GetSavingsPlansUtilizationDetailsRequest withDataType(SavingsPlansDataType... dataType)
The data type.
dataType
- The data type.SavingsPlansDataType
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 void setSortBy(SortDefinition sortBy)
The value that you want to sort the data by.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
sortBy
- The value that you want to sort the data by.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
public SortDefinition getSortBy()
The value that you want to sort the data by.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
public GetSavingsPlansUtilizationDetailsRequest withSortBy(SortDefinition sortBy)
The value that you want to sort the data by.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
sortBy
- The value that you want to sort the data by.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
public String toString()
toString
in class Object
Object.toString()
public GetSavingsPlansUtilizationDetailsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()