@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAvailableResourceMetricsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAvailableResourceMetricsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAvailableResourceMetricsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIdentifier()
An immutable identifier for a data source that is unique within an Amazon Web Services Region.
|
Integer |
getMaxResults()
The maximum number of items to return.
|
List<String> |
getMetricTypes()
The types of metrics to return in the response.
|
String |
getNextToken()
An optional pagination token provided by a previous request.
|
String |
getServiceType()
The Amazon Web Services service for which Performance Insights returns metrics.
|
int |
hashCode() |
void |
setIdentifier(String identifier)
An immutable identifier for a data source that is unique within an Amazon Web Services Region.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return.
|
void |
setMetricTypes(Collection<String> metricTypes)
The types of metrics to return in the response.
|
void |
setNextToken(String nextToken)
An optional pagination token provided by a previous request.
|
void |
setServiceType(String serviceType)
The Amazon Web Services service for which Performance Insights returns metrics.
|
String |
toString()
Returns a string representation of this object.
|
ListAvailableResourceMetricsRequest |
withIdentifier(String identifier)
An immutable identifier for a data source that is unique within an Amazon Web Services Region.
|
ListAvailableResourceMetricsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return.
|
ListAvailableResourceMetricsRequest |
withMetricTypes(Collection<String> metricTypes)
The types of metrics to return in the response.
|
ListAvailableResourceMetricsRequest |
withMetricTypes(String... metricTypes)
The types of metrics to return in the response.
|
ListAvailableResourceMetricsRequest |
withNextToken(String nextToken)
An optional pagination token provided by a previous request.
|
ListAvailableResourceMetricsRequest |
withServiceType(ServiceType serviceType)
The Amazon Web Services service for which Performance Insights returns metrics.
|
ListAvailableResourceMetricsRequest |
withServiceType(String serviceType)
The Amazon Web Services service for which Performance Insights returns metrics.
|
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 setServiceType(String serviceType)
The Amazon Web Services service for which Performance Insights returns metrics.
serviceType
- The Amazon Web Services service for which Performance Insights returns metrics.ServiceType
public String getServiceType()
The Amazon Web Services service for which Performance Insights returns metrics.
ServiceType
public ListAvailableResourceMetricsRequest withServiceType(String serviceType)
The Amazon Web Services service for which Performance Insights returns metrics.
serviceType
- The Amazon Web Services service for which Performance Insights returns metrics.ServiceType
public ListAvailableResourceMetricsRequest withServiceType(ServiceType serviceType)
The Amazon Web Services service for which Performance Insights returns metrics.
serviceType
- The Amazon Web Services service for which Performance Insights returns metrics.ServiceType
public void setIdentifier(String identifier)
An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance
Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its
DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ
.
identifier
- An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance
Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify
its DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ
.public String getIdentifier()
An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance
Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its
DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ
.
DbiResourceId
value. For example, specify
db-ABCDEFGHIJKLMNOPQRSTU1VWZ
.public ListAvailableResourceMetricsRequest withIdentifier(String identifier)
An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance
Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its
DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ
.
identifier
- An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance
Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify
its DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ
.public List<String> getMetricTypes()
The types of metrics to return in the response. Valid values in the array include the following:
os
(OS counter metrics) - All engines
db
(DB load metrics) - All engines except for Amazon DocumentDB
db.sql.stats
(per-SQL metrics) - All engines except for Amazon DocumentDB
db.sql_tokenized.stats
(per-SQL digest metrics) - All engines except for Amazon DocumentDB
os
(OS counter metrics) - All engines
db
(DB load metrics) - All engines except for Amazon DocumentDB
db.sql.stats
(per-SQL metrics) - All engines except for Amazon DocumentDB
db.sql_tokenized.stats
(per-SQL digest metrics) - All engines except for Amazon DocumentDB
public void setMetricTypes(Collection<String> metricTypes)
The types of metrics to return in the response. Valid values in the array include the following:
os
(OS counter metrics) - All engines
db
(DB load metrics) - All engines except for Amazon DocumentDB
db.sql.stats
(per-SQL metrics) - All engines except for Amazon DocumentDB
db.sql_tokenized.stats
(per-SQL digest metrics) - All engines except for Amazon DocumentDB
metricTypes
- The types of metrics to return in the response. Valid values in the array include the following:
os
(OS counter metrics) - All engines
db
(DB load metrics) - All engines except for Amazon DocumentDB
db.sql.stats
(per-SQL metrics) - All engines except for Amazon DocumentDB
db.sql_tokenized.stats
(per-SQL digest metrics) - All engines except for Amazon DocumentDB
public ListAvailableResourceMetricsRequest withMetricTypes(String... metricTypes)
The types of metrics to return in the response. Valid values in the array include the following:
os
(OS counter metrics) - All engines
db
(DB load metrics) - All engines except for Amazon DocumentDB
db.sql.stats
(per-SQL metrics) - All engines except for Amazon DocumentDB
db.sql_tokenized.stats
(per-SQL digest metrics) - All engines except for Amazon DocumentDB
NOTE: This method appends the values to the existing list (if any). Use
setMetricTypes(java.util.Collection)
or withMetricTypes(java.util.Collection)
if you want to
override the existing values.
metricTypes
- The types of metrics to return in the response. Valid values in the array include the following:
os
(OS counter metrics) - All engines
db
(DB load metrics) - All engines except for Amazon DocumentDB
db.sql.stats
(per-SQL metrics) - All engines except for Amazon DocumentDB
db.sql_tokenized.stats
(per-SQL digest metrics) - All engines except for Amazon DocumentDB
public ListAvailableResourceMetricsRequest withMetricTypes(Collection<String> metricTypes)
The types of metrics to return in the response. Valid values in the array include the following:
os
(OS counter metrics) - All engines
db
(DB load metrics) - All engines except for Amazon DocumentDB
db.sql.stats
(per-SQL metrics) - All engines except for Amazon DocumentDB
db.sql_tokenized.stats
(per-SQL digest metrics) - All engines except for Amazon DocumentDB
metricTypes
- The types of metrics to return in the response. Valid values in the array include the following:
os
(OS counter metrics) - All engines
db
(DB load metrics) - All engines except for Amazon DocumentDB
db.sql.stats
(per-SQL metrics) - All engines except for Amazon DocumentDB
db.sql_tokenized.stats
(per-SQL digest metrics) - All engines except for Amazon DocumentDB
public void setNextToken(String nextToken)
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the token, up to the value specified by MaxRecords
.
nextToken
- An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the token, up to the value specified by MaxRecords
.public String getNextToken()
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the token, up to the value specified by MaxRecords
.
MaxRecords
.public ListAvailableResourceMetricsRequest withNextToken(String nextToken)
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the token, up to the value specified by MaxRecords
.
nextToken
- An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the token, up to the value specified by MaxRecords
.public void setMaxResults(Integer maxResults)
The maximum number of items to return. If the MaxRecords
value is less than the number of existing
items, the response includes a pagination token.
maxResults
- The maximum number of items to return. If the MaxRecords
value is less than the number of
existing items, the response includes a pagination token.public Integer getMaxResults()
The maximum number of items to return. If the MaxRecords
value is less than the number of existing
items, the response includes a pagination token.
MaxRecords
value is less than the number of
existing items, the response includes a pagination token.public ListAvailableResourceMetricsRequest withMaxResults(Integer maxResults)
The maximum number of items to return. If the MaxRecords
value is less than the number of existing
items, the response includes a pagination token.
maxResults
- The maximum number of items to return. If the MaxRecords
value is less than the number of
existing items, the response includes a pagination token.public String toString()
toString
in class Object
Object.toString()
public ListAvailableResourceMetricsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()