/* * 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. *

*/ private String serviceType; /** *

* 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. *

*/ private String identifier; /** *

* The name of the dimension group. Performance Insights searches the specified group for the dimension group ID. * The following group name values are valid: *

* */ private String group; /** *

* 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: *

* */ private String groupIdentifier; /** *

* 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: *

* */ private java.util.List requestedDimensions; /** *

* The Amazon Web Services service for which Performance Insights returns data. The only valid value is * RDS. *

* * @param serviceType * The Amazon Web Services service for which Performance Insights returns data. The only valid value is * 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. *

* * @return The Amazon Web Services service for which Performance Insights returns data. The only valid value is * 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. *

* * @param serviceType * The Amazon Web Services service for which Performance Insights returns data. The only valid value is * 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. *

* * @param serviceType * The Amazon Web Services service for which Performance Insights returns data. The only valid value is * 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. *

* * @param 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. */ 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. *

* * @return 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. */ 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. *

* * @param 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. * @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: *

* * * @param group * The name of the dimension group. Performance Insights searches the specified group for the dimension group * ID. The following group name values are valid:

*