Interface LinkConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<LinkConfiguration.Builder,,- LinkConfiguration> - SdkBuilder<LinkConfiguration.Builder,,- LinkConfiguration> - SdkPojo
- Enclosing class:
- LinkConfiguration
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
logGroupConfigurationUse 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.
 
- 
logGroupConfigurationdefault 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 on- LogGroupConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
metricConfigurationUse 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.
 
- 
metricConfigurationdefault 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 on- MetricConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-