@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAvailableResourceDimensionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAvailableResourceDimensionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAvailableResourceDimensionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAuthorizedActions()
The actions to discover the dimensions you are authorized to access.
|
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 in the response.
|
List<String> |
getMetrics()
The types of metrics for which to retrieve dimensions.
|
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 |
setAuthorizedActions(Collection<String> authorizedActions)
The actions to discover the dimensions you are authorized to access.
|
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 in the response.
|
void |
setMetrics(Collection<String> metrics)
The types of metrics for which to retrieve dimensions.
|
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.
|
ListAvailableResourceDimensionsRequest |
withAuthorizedActions(Collection<String> authorizedActions)
The actions to discover the dimensions you are authorized to access.
|
ListAvailableResourceDimensionsRequest |
withAuthorizedActions(FineGrainedAction... authorizedActions)
The actions to discover the dimensions you are authorized to access.
|
ListAvailableResourceDimensionsRequest |
withAuthorizedActions(String... authorizedActions)
The actions to discover the dimensions you are authorized to access.
|
ListAvailableResourceDimensionsRequest |
withIdentifier(String identifier)
An immutable identifier for a data source that is unique within an Amazon Web Services Region.
|
ListAvailableResourceDimensionsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return in the response.
|
ListAvailableResourceDimensionsRequest |
withMetrics(Collection<String> metrics)
The types of metrics for which to retrieve dimensions.
|
ListAvailableResourceDimensionsRequest |
withMetrics(String... metrics)
The types of metrics for which to retrieve dimensions.
|
ListAvailableResourceDimensionsRequest |
withNextToken(String nextToken)
An optional pagination token provided by a previous request.
|
ListAvailableResourceDimensionsRequest |
withServiceType(ServiceType serviceType)
The Amazon Web Services service for which Performance Insights returns metrics.
|
ListAvailableResourceDimensionsRequest |
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 ListAvailableResourceDimensionsRequest()
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 ListAvailableResourceDimensionsRequest 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 ListAvailableResourceDimensionsRequest 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 ListAvailableResourceDimensionsRequest 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> getMetrics()
The types of metrics for which to retrieve dimensions. Valid values include db.load
.
db.load
.public void setMetrics(Collection<String> metrics)
The types of metrics for which to retrieve dimensions. Valid values include db.load
.
metrics
- The types of metrics for which to retrieve dimensions. Valid values include db.load
.public ListAvailableResourceDimensionsRequest withMetrics(String... metrics)
The types of metrics for which to retrieve dimensions. Valid values include db.load
.
NOTE: This method appends the values to the existing list (if any). Use
setMetrics(java.util.Collection)
or withMetrics(java.util.Collection)
if you want to override
the existing values.
metrics
- The types of metrics for which to retrieve dimensions. Valid values include db.load
.public ListAvailableResourceDimensionsRequest withMetrics(Collection<String> metrics)
The types of metrics for which to retrieve dimensions. Valid values include db.load
.
metrics
- The types of metrics for which to retrieve dimensions. Valid values include db.load
.public void setMaxResults(Integer maxResults)
The maximum number of items to return in the response. If more items exist than the specified
MaxRecords
value, a pagination token is included in the response so that the remaining results can
be retrieved.
maxResults
- The maximum number of items to return in the response. If more items exist than the specified
MaxRecords
value, a pagination token is included in the response so that the remaining
results can be retrieved.public Integer getMaxResults()
The maximum number of items to return in the response. If more items exist than the specified
MaxRecords
value, a pagination token is included in the response so that the remaining results can
be retrieved.
MaxRecords
value, a pagination token is included in the response so that the remaining
results can be retrieved.public ListAvailableResourceDimensionsRequest withMaxResults(Integer maxResults)
The maximum number of items to return in the response. If more items exist than the specified
MaxRecords
value, a pagination token is included in the response so that the remaining results can
be retrieved.
maxResults
- The maximum number of items to return in the response. If more items exist than the specified
MaxRecords
value, a pagination token is included in the response so that the remaining
results can be retrieved.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 ListAvailableResourceDimensionsRequest 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 List<String> getAuthorizedActions()
The actions to discover the dimensions you are authorized to access. If you specify multiple actions, then the response will contain the dimensions common for all the actions.
When you don't specify this request parameter or provide an empty list, the response contains all the available dimensions for the target database engine whether or not you are authorized to access them.
When you don't specify this request parameter or provide an empty list, the response contains all the available dimensions for the target database engine whether or not you are authorized to access them.
FineGrainedAction
public void setAuthorizedActions(Collection<String> authorizedActions)
The actions to discover the dimensions you are authorized to access. If you specify multiple actions, then the response will contain the dimensions common for all the actions.
When you don't specify this request parameter or provide an empty list, the response contains all the available dimensions for the target database engine whether or not you are authorized to access them.
authorizedActions
- The actions to discover the dimensions you are authorized to access. If you specify multiple actions, then
the response will contain the dimensions common for all the actions.
When you don't specify this request parameter or provide an empty list, the response contains all the available dimensions for the target database engine whether or not you are authorized to access them.
FineGrainedAction
public ListAvailableResourceDimensionsRequest withAuthorizedActions(String... authorizedActions)
The actions to discover the dimensions you are authorized to access. If you specify multiple actions, then the response will contain the dimensions common for all the actions.
When you don't specify this request parameter or provide an empty list, the response contains all the available dimensions for the target database engine whether or not you are authorized to access them.
NOTE: This method appends the values to the existing list (if any). Use
setAuthorizedActions(java.util.Collection)
or withAuthorizedActions(java.util.Collection)
if
you want to override the existing values.
authorizedActions
- The actions to discover the dimensions you are authorized to access. If you specify multiple actions, then
the response will contain the dimensions common for all the actions.
When you don't specify this request parameter or provide an empty list, the response contains all the available dimensions for the target database engine whether or not you are authorized to access them.
FineGrainedAction
public ListAvailableResourceDimensionsRequest withAuthorizedActions(Collection<String> authorizedActions)
The actions to discover the dimensions you are authorized to access. If you specify multiple actions, then the response will contain the dimensions common for all the actions.
When you don't specify this request parameter or provide an empty list, the response contains all the available dimensions for the target database engine whether or not you are authorized to access them.
authorizedActions
- The actions to discover the dimensions you are authorized to access. If you specify multiple actions, then
the response will contain the dimensions common for all the actions.
When you don't specify this request parameter or provide an empty list, the response contains all the available dimensions for the target database engine whether or not you are authorized to access them.
FineGrainedAction
public ListAvailableResourceDimensionsRequest withAuthorizedActions(FineGrainedAction... authorizedActions)
The actions to discover the dimensions you are authorized to access. If you specify multiple actions, then the response will contain the dimensions common for all the actions.
When you don't specify this request parameter or provide an empty list, the response contains all the available dimensions for the target database engine whether or not you are authorized to access them.
authorizedActions
- The actions to discover the dimensions you are authorized to access. If you specify multiple actions, then
the response will contain the dimensions common for all the actions.
When you don't specify this request parameter or provide an empty list, the response contains all the available dimensions for the target database engine whether or not you are authorized to access them.
FineGrainedAction
public String toString()
toString
in class Object
Object.toString()
public ListAvailableResourceDimensionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()