Interface LinkConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LinkConfiguration.Builder,LinkConfiguration>,SdkBuilder<LinkConfiguration.Builder,LinkConfiguration>,SdkPojo
- Enclosing class:
- LinkConfiguration
public static interface LinkConfiguration.Builder extends SdkPojo, CopyableBuilder<LinkConfiguration.Builder,LinkConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.LinkConfiguration.BuilderlogGroupConfiguration(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.LinkConfiguration.BuildermetricConfiguration(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
logGroupConfiguration
LinkConfiguration.Builder logGroupConfiguration(LogGroupConfiguration 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:
logGroupConfiguration(LogGroupConfiguration)
-
metricConfiguration
LinkConfiguration.Builder metricConfiguration(MetricConfiguration 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:
metricConfiguration(MetricConfiguration)
-
-