Interface MetricSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MetricSource.Builder,
,MetricSource> SdkBuilder<MetricSource.Builder,
,MetricSource> SdkPojo
- Enclosing class:
MetricSource
-
Method Summary
Modifier and TypeMethodDescriptiondefault MetricSource.Builder
appFlowConfig
(Consumer<AppFlowConfig.Builder> appFlowConfig) Details about an AppFlow datasource.appFlowConfig
(AppFlowConfig appFlowConfig) Details about an AppFlow datasource.default MetricSource.Builder
athenaSourceConfig
(Consumer<AthenaSourceConfig.Builder> athenaSourceConfig) Details about an Amazon Athena datasource.athenaSourceConfig
(AthenaSourceConfig athenaSourceConfig) Details about an Amazon Athena datasource.default MetricSource.Builder
cloudWatchConfig
(Consumer<CloudWatchConfig.Builder> cloudWatchConfig) Details about an Amazon CloudWatch monitoring datasource.cloudWatchConfig
(CloudWatchConfig cloudWatchConfig) Details about an Amazon CloudWatch monitoring datasource.default MetricSource.Builder
rdsSourceConfig
(Consumer<RDSSourceConfig.Builder> rdsSourceConfig) Details about an Amazon Relational Database Service (RDS) datasource.rdsSourceConfig
(RDSSourceConfig rdsSourceConfig) Details about an Amazon Relational Database Service (RDS) datasource.default MetricSource.Builder
redshiftSourceConfig
(Consumer<RedshiftSourceConfig.Builder> redshiftSourceConfig) Details about an Amazon Redshift database datasource.redshiftSourceConfig
(RedshiftSourceConfig redshiftSourceConfig) Details about an Amazon Redshift database datasource.default MetricSource.Builder
s3SourceConfig
(Consumer<S3SourceConfig.Builder> s3SourceConfig) Sets the value of the S3SourceConfig property for this object.s3SourceConfig
(S3SourceConfig s3SourceConfig) Sets the value of the S3SourceConfig property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
s3SourceConfig
Sets the value of the S3SourceConfig property for this object.- Parameters:
s3SourceConfig
- The new value for the S3SourceConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3SourceConfig
Sets the value of the S3SourceConfig property for this object. This is a convenience method that creates an instance of theS3SourceConfig.Builder
avoiding the need to create one manually viaS3SourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3SourceConfig(S3SourceConfig)
.- Parameters:
s3SourceConfig
- a consumer that will call methods onS3SourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appFlowConfig
Details about an AppFlow datasource.
- Parameters:
appFlowConfig
- Details about an AppFlow datasource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appFlowConfig
Details about an AppFlow datasource.
This is a convenience method that creates an instance of theAppFlowConfig.Builder
avoiding the need to create one manually viaAppFlowConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toappFlowConfig(AppFlowConfig)
.- Parameters:
appFlowConfig
- a consumer that will call methods onAppFlowConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudWatchConfig
Details about an Amazon CloudWatch monitoring datasource.
- Parameters:
cloudWatchConfig
- Details about an Amazon CloudWatch monitoring datasource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchConfig
Details about an Amazon CloudWatch monitoring datasource.
This is a convenience method that creates an instance of theCloudWatchConfig.Builder
avoiding the need to create one manually viaCloudWatchConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchConfig(CloudWatchConfig)
.- Parameters:
cloudWatchConfig
- a consumer that will call methods onCloudWatchConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rdsSourceConfig
Details about an Amazon Relational Database Service (RDS) datasource.
- Parameters:
rdsSourceConfig
- Details about an Amazon Relational Database Service (RDS) datasource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsSourceConfig
Details about an Amazon Relational Database Service (RDS) datasource.
This is a convenience method that creates an instance of theRDSSourceConfig.Builder
avoiding the need to create one manually viaRDSSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tordsSourceConfig(RDSSourceConfig)
.- Parameters:
rdsSourceConfig
- a consumer that will call methods onRDSSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redshiftSourceConfig
Details about an Amazon Redshift database datasource.
- Parameters:
redshiftSourceConfig
- Details about an Amazon Redshift database datasource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redshiftSourceConfig
default MetricSource.Builder redshiftSourceConfig(Consumer<RedshiftSourceConfig.Builder> redshiftSourceConfig) Details about an Amazon Redshift database datasource.
This is a convenience method that creates an instance of theRedshiftSourceConfig.Builder
avoiding the need to create one manually viaRedshiftSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredshiftSourceConfig(RedshiftSourceConfig)
.- Parameters:
redshiftSourceConfig
- a consumer that will call methods onRedshiftSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
athenaSourceConfig
Details about an Amazon Athena datasource.
- Parameters:
athenaSourceConfig
- Details about an Amazon Athena datasource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
athenaSourceConfig
default MetricSource.Builder athenaSourceConfig(Consumer<AthenaSourceConfig.Builder> athenaSourceConfig) Details about an Amazon Athena datasource.
This is a convenience method that creates an instance of theAthenaSourceConfig.Builder
avoiding the need to create one manually viaAthenaSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toathenaSourceConfig(AthenaSourceConfig)
.- Parameters:
athenaSourceConfig
- a consumer that will call methods onAthenaSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-