/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.pi.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetDimensionKeyDetailsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The Amazon Web Services service for which Performance Insights returns data. The only valid value is
* RDS
.
*
* The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an
* Amazon Web Services Region. When a DB instance is the data source, specify its DbiResourceId
value.
* For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
*
* The name of the dimension group. Performance Insights searches the specified group for the dimension group ID. * The following group name values are valid: *
*
* db.query
(Amazon DocumentDB only)
*
* db.sql
(Amazon RDS and Aurora only)
*
* The ID of the dimension group from which to retrieve dimension details. For dimension group db.sql
,
* the group ID is db.sql.id
. The following group ID values are valid:
*
* db.sql.id
for dimension group db.sql
(Aurora and RDS only)
*
* db.query.id
for dimension group db.query
(DocumentDB only)
*
* A list of dimensions to retrieve the detail data for within the given dimension group. If you don't specify this * parameter, Performance Insights returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups: *
*
* db.sql
- Specify either the full dimension name db.sql.statement
or the short dimension
* name statement
(Aurora and RDS only).
*
* db.query
- Specify either the full dimension name db.query.statement
or the short
* dimension name statement
(DocumentDB only).
*
* The Amazon Web Services service for which Performance Insights returns data. The only valid value is
* RDS
.
*
RDS
.
* @see ServiceType
*/
public void setServiceType(String serviceType) {
this.serviceType = serviceType;
}
/**
*
* The Amazon Web Services service for which Performance Insights returns data. The only valid value is
* RDS
.
*
RDS
.
* @see ServiceType
*/
public String getServiceType() {
return this.serviceType;
}
/**
*
* The Amazon Web Services service for which Performance Insights returns data. The only valid value is
* RDS
.
*
RDS
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ServiceType
*/
public GetDimensionKeyDetailsRequest withServiceType(String serviceType) {
setServiceType(serviceType);
return this;
}
/**
*
* The Amazon Web Services service for which Performance Insights returns data. The only valid value is
* RDS
.
*
RDS
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ServiceType
*/
public GetDimensionKeyDetailsRequest withServiceType(ServiceType serviceType) {
this.serviceType = serviceType.toString();
return this;
}
/**
*
* The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an
* Amazon Web Services Region. When a DB instance is the data source, specify its DbiResourceId
value.
* For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
*
DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
*/
public void setIdentifier(String identifier) {
this.identifier = identifier;
}
/**
*
* The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an
* Amazon Web Services Region. When a DB instance is the data source, specify its DbiResourceId
value.
* For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
*
DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
*/
public String getIdentifier() {
return this.identifier;
}
/**
*
* The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an
* Amazon Web Services Region. When a DB instance is the data source, specify its DbiResourceId
value.
* For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
*
DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetDimensionKeyDetailsRequest withIdentifier(String identifier) {
setIdentifier(identifier);
return this;
}
/**
* * The name of the dimension group. Performance Insights searches the specified group for the dimension group ID. * The following group name values are valid: *
*
* db.query
(Amazon DocumentDB only)
*
* db.sql
(Amazon RDS and Aurora only)
*
* db.query
(Amazon DocumentDB only)
*
* db.sql
(Amazon RDS and Aurora only)
*
* The name of the dimension group. Performance Insights searches the specified group for the dimension group ID. * The following group name values are valid: *
*
* db.query
(Amazon DocumentDB only)
*
* db.sql
(Amazon RDS and Aurora only)
*
* db.query
(Amazon DocumentDB only)
*
* db.sql
(Amazon RDS and Aurora only)
*
* The name of the dimension group. Performance Insights searches the specified group for the dimension group ID. * The following group name values are valid: *
*
* db.query
(Amazon DocumentDB only)
*
* db.sql
(Amazon RDS and Aurora only)
*
* db.query
(Amazon DocumentDB only)
*
* db.sql
(Amazon RDS and Aurora only)
*
* The ID of the dimension group from which to retrieve dimension details. For dimension group db.sql
,
* the group ID is db.sql.id
. The following group ID values are valid:
*
* db.sql.id
for dimension group db.sql
(Aurora and RDS only)
*
* db.query.id
for dimension group db.query
(DocumentDB only)
*
db.sql
, the group ID is db.sql.id
. The following group ID values are valid:
*
* db.sql.id
for dimension group db.sql
(Aurora and RDS only)
*
* db.query.id
for dimension group db.query
(DocumentDB only)
*
* The ID of the dimension group from which to retrieve dimension details. For dimension group db.sql
,
* the group ID is db.sql.id
. The following group ID values are valid:
*
* db.sql.id
for dimension group db.sql
(Aurora and RDS only)
*
* db.query.id
for dimension group db.query
(DocumentDB only)
*
db.sql
, the group ID is db.sql.id
. The following group ID values are valid:
*
* db.sql.id
for dimension group db.sql
(Aurora and RDS only)
*
* db.query.id
for dimension group db.query
(DocumentDB only)
*
* The ID of the dimension group from which to retrieve dimension details. For dimension group db.sql
,
* the group ID is db.sql.id
. The following group ID values are valid:
*
* db.sql.id
for dimension group db.sql
(Aurora and RDS only)
*
* db.query.id
for dimension group db.query
(DocumentDB only)
*
db.sql
, the group ID is db.sql.id
. The following group ID values are valid:
*
* db.sql.id
for dimension group db.sql
(Aurora and RDS only)
*
* db.query.id
for dimension group db.query
(DocumentDB only)
*
* A list of dimensions to retrieve the detail data for within the given dimension group. If you don't specify this * parameter, Performance Insights returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups: *
*
* db.sql
- Specify either the full dimension name db.sql.statement
or the short dimension
* name statement
(Aurora and RDS only).
*
* db.query
- Specify either the full dimension name db.query.statement
or the short
* dimension name statement
(DocumentDB only).
*
* db.sql
- Specify either the full dimension name db.sql.statement
or the short
* dimension name statement
(Aurora and RDS only).
*
* db.query
- Specify either the full dimension name db.query.statement
or the
* short dimension name statement
(DocumentDB only).
*
* A list of dimensions to retrieve the detail data for within the given dimension group. If you don't specify this * parameter, Performance Insights returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups: *
*
* db.sql
- Specify either the full dimension name db.sql.statement
or the short dimension
* name statement
(Aurora and RDS only).
*
* db.query
- Specify either the full dimension name db.query.statement
or the short
* dimension name statement
(DocumentDB only).
*
* db.sql
- Specify either the full dimension name db.sql.statement
or the short
* dimension name statement
(Aurora and RDS only).
*
* db.query
- Specify either the full dimension name db.query.statement
or the
* short dimension name statement
(DocumentDB only).
*
* A list of dimensions to retrieve the detail data for within the given dimension group. If you don't specify this * parameter, Performance Insights returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups: *
*
* db.sql
- Specify either the full dimension name db.sql.statement
or the short dimension
* name statement
(Aurora and RDS only).
*
* db.query
- Specify either the full dimension name db.query.statement
or the short
* dimension name statement
(DocumentDB only).
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setRequestedDimensions(java.util.Collection)} or {@link #withRequestedDimensions(java.util.Collection)} * if you want to override the existing values. *
* * @param requestedDimensions * A list of dimensions to retrieve the detail data for within the given dimension group. If you don't * specify this parameter, Performance Insights returns all dimension data within the specified dimension * group. Specify dimension names for the following dimension groups: *
* db.sql
- Specify either the full dimension name db.sql.statement
or the short
* dimension name statement
(Aurora and RDS only).
*
* db.query
- Specify either the full dimension name db.query.statement
or the
* short dimension name statement
(DocumentDB only).
*
* A list of dimensions to retrieve the detail data for within the given dimension group. If you don't specify this * parameter, Performance Insights returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups: *
*
* db.sql
- Specify either the full dimension name db.sql.statement
or the short dimension
* name statement
(Aurora and RDS only).
*
* db.query
- Specify either the full dimension name db.query.statement
or the short
* dimension name statement
(DocumentDB only).
*
* db.sql
- Specify either the full dimension name db.sql.statement
or the short
* dimension name statement
(Aurora and RDS only).
*
* db.query
- Specify either the full dimension name db.query.statement
or the
* short dimension name statement
(DocumentDB only).
*