Interface GetMetricDataQueryDefinitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<GetMetricDataQueryDefinitionResponse.Builder,,GetMetricDataQueryDefinitionResponse> SdkBuilder<GetMetricDataQueryDefinitionResponse.Builder,,GetMetricDataQueryDefinitionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetMetricDataQueryDefinitionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the metric data query definition.The date and time when you created the metric data query definition.expression(String expression) The query expression.The ID of the metric data query definition.The path of the metric data query definition.The language of the expression.The language of the expression.The date and time when you last updated the metric data query definition.Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The ID of the metric data query definition.
- Parameters:
id- The ID of the metric data query definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the metric data query definition.
- Parameters:
arn- The Amazon Resource Name (ARN) of the metric data query definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path of the metric data query definition.
- Parameters:
path- The path of the metric data query definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expression
The query expression.
- Parameters:
expression- The query expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The language of the expression. Valid values are the following:
-
PROMQL– A PromQL query. -
SQL– A CloudWatch Metrics Insights query. -
METRIC_MATH– A metric math expression.
- Parameters:
type- The language of the expression. Valid values are the following:-
PROMQL– A PromQL query. -
SQL– A CloudWatch Metrics Insights query. -
METRIC_MATH– A metric math expression.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The language of the expression. Valid values are the following:
-
PROMQL– A PromQL query. -
SQL– A CloudWatch Metrics Insights query. -
METRIC_MATH– A metric math expression.
- Parameters:
type- The language of the expression. Valid values are the following:-
PROMQL– A PromQL query. -
SQL– A CloudWatch Metrics Insights query. -
METRIC_MATH– A metric math expression.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
createdAt
The date and time when you created the metric data query definition.
- Parameters:
createdAt- The date and time when you created the metric data query definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time when you last updated the metric data query definition.
- Parameters:
updatedAt- The date and time when you last updated the metric data query definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-