@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDimensionValuesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetDimensionValuesRequest() |
Modifier and Type | Method and Description |
---|---|
GetDimensionValuesRequest |
clone() |
boolean |
equals(Object obj) |
String |
getContext()
The context for the call to
GetDimensionValues . |
String |
getDimension()
The name of the dimension.
|
String |
getNextPageToken()
The token to retrieve the next set of results.
|
String |
getSearchString()
The value that you want to search the filter values for.
|
DateInterval |
getTimePeriod()
The start and end dates for retrieving the dimension values.
|
int |
hashCode() |
void |
setContext(String context)
The context for the call to
GetDimensionValues . |
void |
setDimension(String dimension)
The name of the dimension.
|
void |
setNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
void |
setSearchString(String searchString)
The value that you want to search the filter values for.
|
void |
setTimePeriod(DateInterval timePeriod)
The start and end dates for retrieving the dimension values.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetDimensionValuesRequest |
withContext(Context context)
The context for the call to
GetDimensionValues . |
GetDimensionValuesRequest |
withContext(String context)
The context for the call to
GetDimensionValues . |
GetDimensionValuesRequest |
withDimension(Dimension dimension)
The name of the dimension.
|
GetDimensionValuesRequest |
withDimension(String dimension)
The name of the dimension.
|
GetDimensionValuesRequest |
withNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
GetDimensionValuesRequest |
withSearchString(String searchString)
The value that you want to search the filter values for.
|
GetDimensionValuesRequest |
withTimePeriod(DateInterval timePeriod)
The start and end dates for retrieving the dimension values.
|
addHandlerContext, copyBaseTo, 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 setSearchString(String searchString)
The value that you want to search the filter values for.
searchString
- The value that you want to search the filter values for.public String getSearchString()
The value that you want to search the filter values for.
public GetDimensionValuesRequest withSearchString(String searchString)
The value that you want to search the filter values for.
searchString
- The value that you want to search the filter values for.public void setTimePeriod(DateInterval timePeriod)
The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is
exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.
timePeriod
- The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date
is exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.public DateInterval getTimePeriod()
The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is
exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.
start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.public GetDimensionValuesRequest withTimePeriod(DateInterval timePeriod)
The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is
exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.
timePeriod
- The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date
is exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.public void setDimension(String dimension)
The name of the dimension. Different Dimensions
are available for different Context
s.
For more information, see Context
.
dimension
- The name of the dimension. Different Dimensions
are available for different
Context
s. For more information, see Context
.Dimension
public String getDimension()
The name of the dimension. Different Dimensions
are available for different Context
s.
For more information, see Context
.
Dimensions
are available for different
Context
s. For more information, see Context
.Dimension
public GetDimensionValuesRequest withDimension(String dimension)
The name of the dimension. Different Dimensions
are available for different Context
s.
For more information, see Context
.
dimension
- The name of the dimension. Different Dimensions
are available for different
Context
s. For more information, see Context
.Dimension
public GetDimensionValuesRequest withDimension(Dimension dimension)
The name of the dimension. Different Dimensions
are available for different Context
s.
For more information, see Context
.
dimension
- The name of the dimension. Different Dimensions
are available for different
Context
s. For more information, see Context
.Dimension
public void setContext(String context)
The context for the call to GetDimensionValues
. This can be RESERVED_INSTANCE
or
COST_AND_USAGE
. The default value is COST_AND_USAGE
. If the context is set to
RESERVED_INSTANCE
, the resulting dimension values can be used in the
GetReservationUtilization
action. If the context is set to COST_AND_USAGE
, , the
resulting dimension values can be used in the GetCostAndUsage
operation.
If you set the context to CostAndUsage
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Operation - The action performed. Examples include RunInstance and CreateBucket.
PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances
Service - The AWS service such as DynamoDB.
UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.
UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.
RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits
If you set the context to ReservedInstance
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Platform - The operating system. Examples are Windows or Linux.
Region - The AWS region.
Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.
Tenancy - The tenancy of a resource. Examples are shared or dedicated.
context
- The context for the call to GetDimensionValues
. This can be RESERVED_INSTANCE
or
COST_AND_USAGE
. The default value is COST_AND_USAGE
. If the context is set to
RESERVED_INSTANCE
, the resulting dimension values can be used in the
GetReservationUtilization
action. If the context is set to COST_AND_USAGE
, , the
resulting dimension values can be used in the GetCostAndUsage
operation.
If you set the context to CostAndUsage
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Operation - The action performed. Examples include RunInstance and CreateBucket.
PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances
Service - The AWS service such as DynamoDB.
UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.
UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.
RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits
If you set the context to ReservedInstance
, you can use the following dimensions for
searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Platform - The operating system. Examples are Windows or Linux.
Region - The AWS region.
Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.
Tenancy - The tenancy of a resource. Examples are shared or dedicated.
Context
public String getContext()
The context for the call to GetDimensionValues
. This can be RESERVED_INSTANCE
or
COST_AND_USAGE
. The default value is COST_AND_USAGE
. If the context is set to
RESERVED_INSTANCE
, the resulting dimension values can be used in the
GetReservationUtilization
action. If the context is set to COST_AND_USAGE
, , the
resulting dimension values can be used in the GetCostAndUsage
operation.
If you set the context to CostAndUsage
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Operation - The action performed. Examples include RunInstance and CreateBucket.
PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances
Service - The AWS service such as DynamoDB.
UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.
UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.
RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits
If you set the context to ReservedInstance
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Platform - The operating system. Examples are Windows or Linux.
Region - The AWS region.
Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.
Tenancy - The tenancy of a resource. Examples are shared or dedicated.
GetDimensionValues
. This can be RESERVED_INSTANCE
or COST_AND_USAGE
. The default value is COST_AND_USAGE
. If the context is set
to RESERVED_INSTANCE
, the resulting dimension values can be used in the
GetReservationUtilization
action. If the context is set to COST_AND_USAGE
, ,
the resulting dimension values can be used in the GetCostAndUsage
operation.
If you set the context to CostAndUsage
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Operation - The action performed. Examples include RunInstance and CreateBucket.
PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances
Service - The AWS service such as DynamoDB.
UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.
UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.
RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits
If you set the context to ReservedInstance
, you can use the following dimensions for
searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Platform - The operating system. Examples are Windows or Linux.
Region - The AWS region.
Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.
Tenancy - The tenancy of a resource. Examples are shared or dedicated.
Context
public GetDimensionValuesRequest withContext(String context)
The context for the call to GetDimensionValues
. This can be RESERVED_INSTANCE
or
COST_AND_USAGE
. The default value is COST_AND_USAGE
. If the context is set to
RESERVED_INSTANCE
, the resulting dimension values can be used in the
GetReservationUtilization
action. If the context is set to COST_AND_USAGE
, , the
resulting dimension values can be used in the GetCostAndUsage
operation.
If you set the context to CostAndUsage
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Operation - The action performed. Examples include RunInstance and CreateBucket.
PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances
Service - The AWS service such as DynamoDB.
UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.
UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.
RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits
If you set the context to ReservedInstance
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Platform - The operating system. Examples are Windows or Linux.
Region - The AWS region.
Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.
Tenancy - The tenancy of a resource. Examples are shared or dedicated.
context
- The context for the call to GetDimensionValues
. This can be RESERVED_INSTANCE
or
COST_AND_USAGE
. The default value is COST_AND_USAGE
. If the context is set to
RESERVED_INSTANCE
, the resulting dimension values can be used in the
GetReservationUtilization
action. If the context is set to COST_AND_USAGE
, , the
resulting dimension values can be used in the GetCostAndUsage
operation.
If you set the context to CostAndUsage
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Operation - The action performed. Examples include RunInstance and CreateBucket.
PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances
Service - The AWS service such as DynamoDB.
UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.
UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.
RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits
If you set the context to ReservedInstance
, you can use the following dimensions for
searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Platform - The operating system. Examples are Windows or Linux.
Region - The AWS region.
Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.
Tenancy - The tenancy of a resource. Examples are shared or dedicated.
Context
public GetDimensionValuesRequest withContext(Context context)
The context for the call to GetDimensionValues
. This can be RESERVED_INSTANCE
or
COST_AND_USAGE
. The default value is COST_AND_USAGE
. If the context is set to
RESERVED_INSTANCE
, the resulting dimension values can be used in the
GetReservationUtilization
action. If the context is set to COST_AND_USAGE
, , the
resulting dimension values can be used in the GetCostAndUsage
operation.
If you set the context to CostAndUsage
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Operation - The action performed. Examples include RunInstance and CreateBucket.
PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances
Service - The AWS service such as DynamoDB.
UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.
UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.
RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits
If you set the context to ReservedInstance
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Platform - The operating system. Examples are Windows or Linux.
Region - The AWS region.
Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.
Tenancy - The tenancy of a resource. Examples are shared or dedicated.
context
- The context for the call to GetDimensionValues
. This can be RESERVED_INSTANCE
or
COST_AND_USAGE
. The default value is COST_AND_USAGE
. If the context is set to
RESERVED_INSTANCE
, the resulting dimension values can be used in the
GetReservationUtilization
action. If the context is set to COST_AND_USAGE
, , the
resulting dimension values can be used in the GetCostAndUsage
operation.
If you set the context to CostAndUsage
, you can use the following dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Operation - The action performed. Examples include RunInstance and CreateBucket.
PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances
Service - The AWS service such as DynamoDB.
UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.
UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.
RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits
If you set the context to ReservedInstance
, you can use the following dimensions for
searching:
AZ - The Availability Zone. An example is us-east-1a.
InstanceType - The type of EC2 instance. An example is m4.xlarge.
LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account
Platform - The operating system. Examples are Windows or Linux.
Region - The AWS region.
Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.
Tenancy - The tenancy of a resource. Examples are shared or dedicated.
Context
public void setNextPageToken(String nextPageToken)
The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken
- The token to retrieve the next set of results. AWS provides the token when the response from a previous
call has more results than the maximum page size.public String getNextPageToken()
The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.
public GetDimensionValuesRequest withNextPageToken(String nextPageToken)
The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken
- The token to retrieve the next set of results. AWS provides the token when the response from a previous
call has more results than the maximum page size.public String toString()
toString
in class Object
Object.toString()
public GetDimensionValuesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.