@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSavingsPlansUtilizationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetSavingsPlansUtilizationRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetSavingsPlansUtilizationRequest |
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.
|
String |
getGranularity()
The granularity of the Amazon Web Services utillization data for your Savings Plans.
|
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 |
setFilter(Expression filter)
Filters Savings Plans utilization coverage data for active Savings Plans dimensions.
|
void |
setGranularity(String granularity)
The granularity of the Amazon Web Services utillization data for your Savings Plans.
|
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.
|
GetSavingsPlansUtilizationRequest |
withFilter(Expression filter)
Filters Savings Plans utilization coverage data for active Savings Plans dimensions.
|
GetSavingsPlansUtilizationRequest |
withGranularity(Granularity granularity)
The granularity of the Amazon Web Services utillization data for your Savings Plans.
|
GetSavingsPlansUtilizationRequest |
withGranularity(String granularity)
The granularity of the Amazon Web Services utillization data for your Savings Plans.
|
GetSavingsPlansUtilizationRequest |
withSortBy(SortDefinition sortBy)
The value that you want to sort the data by.
|
GetSavingsPlansUtilizationRequest |
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, withSdkRequestTimeoutpublic 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 GetSavingsPlansUtilizationRequest 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 setGranularity(String granularity)
The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and MONTHLY
granularities.
granularity - The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and
MONTHLY granularities.
Granularitypublic String getGranularity()
The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and MONTHLY
granularities.
The GetSavingsPlansUtilization operation supports only DAILY and
MONTHLY granularities.
Granularitypublic GetSavingsPlansUtilizationRequest withGranularity(String granularity)
The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and MONTHLY
granularities.
granularity - The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and
MONTHLY granularities.
Granularitypublic GetSavingsPlansUtilizationRequest withGranularity(Granularity granularity)
The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and MONTHLY
granularities.
granularity - The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and
MONTHLY granularities.
Granularitypublic 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
SAVINGS_PLANS_TYPE
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilization 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
SAVINGS_PLANS_TYPE
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilization 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
SAVINGS_PLANS_TYPE
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilization uses the same Expression
object as the other operations, but only AND is supported among each dimension.
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
SAVINGS_PLANS_TYPE
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilization uses the same Expression object as the other operations, but only AND is supported among each
dimension.
public GetSavingsPlansUtilizationRequest 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
SAVINGS_PLANS_TYPE
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilization 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
SAVINGS_PLANS_TYPE
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilization uses the same Expression object as the other operations, but only AND is supported among each
dimension.
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
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
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
The supported values for SortOrder are ASCENDING and DESCENDING.
The following values are supported for Key:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
The supported values for SortOrder are ASCENDING and DESCENDING.
public GetSavingsPlansUtilizationRequest 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
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
The supported values for SortOrder are ASCENDING and DESCENDING.
public String toString()
toString in class ObjectObject.toString()public GetSavingsPlansUtilizationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()