Interface LinkConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LinkConfiguration.Builder,,LinkConfiguration> SdkBuilder<LinkConfiguration.Builder,,LinkConfiguration> SdkPojo
- Enclosing class:
LinkConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault LinkConfiguration.BuilderlogGroupConfiguration(Consumer<LogGroupConfiguration.Builder> logGroupConfiguration) Use this structure to filter which log groups are to send log events from the source account to the monitoring account.logGroupConfiguration(LogGroupConfiguration logGroupConfiguration) Use this structure to filter which log groups are to send log events from the source account to the monitoring account.default LinkConfiguration.BuildermetricConfiguration(Consumer<MetricConfiguration.Builder> metricConfiguration) Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.metricConfiguration(MetricConfiguration metricConfiguration) Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.Methods 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, sdkFields
-
Method Details
-
logGroupConfiguration
Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
- Parameters:
logGroupConfiguration- Use this structure to filter which log groups are to send log events from the source account to the monitoring account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupConfiguration
default LinkConfiguration.Builder logGroupConfiguration(Consumer<LogGroupConfiguration.Builder> logGroupConfiguration) Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
This is a convenience method that creates an instance of theLogGroupConfiguration.Builderavoiding the need to create one manually viaLogGroupConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologGroupConfiguration(LogGroupConfiguration).- Parameters:
logGroupConfiguration- a consumer that will call methods onLogGroupConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricConfiguration
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
- Parameters:
metricConfiguration- Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricConfiguration
default LinkConfiguration.Builder metricConfiguration(Consumer<MetricConfiguration.Builder> metricConfiguration) Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
This is a convenience method that creates an instance of theMetricConfiguration.Builderavoiding the need to create one manually viaMetricConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricConfiguration(MetricConfiguration).- Parameters:
metricConfiguration- a consumer that will call methods onMetricConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-