Interface CreatePerformanceAnalysisReportRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePerformanceAnalysisReportRequest.Builder,
,CreatePerformanceAnalysisReportRequest> PiRequest.Builder
,SdkBuilder<CreatePerformanceAnalysisReportRequest.Builder,
,CreatePerformanceAnalysisReportRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreatePerformanceAnalysisReportRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe end time defined for the analysis report.identifier
(String identifier) An immutable, Amazon Web Services Region-unique identifier for a data source.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceType
(String serviceType) The Amazon Web Services service for which Performance Insights will return metrics.serviceType
(ServiceType serviceType) The Amazon Web Services service for which Performance Insights will return metrics.The start time defined for the analysis report.tags
(Collection<Tag> tags) The metadata assigned to the analysis report consisting of a key-value pair.tags
(Consumer<Tag.Builder>... tags) The metadata assigned to the analysis report consisting of a key-value pair.The metadata assigned to the analysis report consisting of a key-value pair.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pi.model.PiRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serviceType
The Amazon Web Services service for which Performance Insights will return metrics. Valid value is
RDS
.- Parameters:
serviceType
- The Amazon Web Services service for which Performance Insights will return metrics. Valid value isRDS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceType
The Amazon Web Services service for which Performance Insights will return metrics. Valid value is
RDS
.- Parameters:
serviceType
- The Amazon Web Services service for which Performance Insights will return metrics. Valid value isRDS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identifier
An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source.
To use an Amazon RDS instance as a data source, you specify its
DbiResourceId
value. For example, specifydb-ADECBTYHKTSAUMUZQYPDS2GW4A
.- Parameters:
identifier
- An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source.To use an Amazon RDS instance as a data source, you specify its
DbiResourceId
value. For example, specifydb-ADECBTYHKTSAUMUZQYPDS2GW4A
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time defined for the analysis report.
- Parameters:
startTime
- The start time defined for the analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time defined for the analysis report.
- Parameters:
endTime
- The end time defined for the analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata assigned to the analysis report consisting of a key-value pair.
- Parameters:
tags
- The metadata assigned to the analysis report consisting of a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata assigned to the analysis report consisting of a key-value pair.
- Parameters:
tags
- The metadata assigned to the analysis report consisting of a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata assigned to the analysis report consisting of a key-value pair.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreatePerformanceAnalysisReportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePerformanceAnalysisReportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-