Class CfnLinkPropsMixin.LinkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.oam.CfnLinkPropsMixin.LinkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLinkPropsMixin.LinkConfigurationProperty>
- Enclosing interface:
CfnLinkPropsMixin.LinkConfigurationProperty
@Stability(Stable)
public static final class CfnLinkPropsMixin.LinkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLinkPropsMixin.LinkConfigurationProperty>
A builder for
CfnLinkPropsMixin.LinkConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logGroupConfiguration(CfnLinkPropsMixin.LinkFilterProperty logGroupConfiguration) Sets the value ofCfnLinkPropsMixin.LinkConfigurationProperty.getLogGroupConfiguration()logGroupConfiguration(IResolvable logGroupConfiguration) Sets the value ofCfnLinkPropsMixin.LinkConfigurationProperty.getLogGroupConfiguration()metricConfiguration(CfnLinkPropsMixin.LinkFilterProperty metricConfiguration) Sets the value ofCfnLinkPropsMixin.LinkConfigurationProperty.getMetricConfiguration()metricConfiguration(IResolvable metricConfiguration) Sets the value ofCfnLinkPropsMixin.LinkConfigurationProperty.getMetricConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroupConfiguration
@Stability(Stable) public CfnLinkPropsMixin.LinkConfigurationProperty.Builder logGroupConfiguration(IResolvable logGroupConfiguration) Sets the value ofCfnLinkPropsMixin.LinkConfigurationProperty.getLogGroupConfiguration()- Parameters:
logGroupConfiguration- Use this structure to filter which log groups are to share log events from this source account to the monitoring account.- Returns:
this
-
logGroupConfiguration
@Stability(Stable) public CfnLinkPropsMixin.LinkConfigurationProperty.Builder logGroupConfiguration(CfnLinkPropsMixin.LinkFilterProperty logGroupConfiguration) Sets the value ofCfnLinkPropsMixin.LinkConfigurationProperty.getLogGroupConfiguration()- Parameters:
logGroupConfiguration- Use this structure to filter which log groups are to share log events from this source account to the monitoring account.- Returns:
this
-
metricConfiguration
@Stability(Stable) public CfnLinkPropsMixin.LinkConfigurationProperty.Builder metricConfiguration(IResolvable metricConfiguration) Sets the value ofCfnLinkPropsMixin.LinkConfigurationProperty.getMetricConfiguration()- Parameters:
metricConfiguration- Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.- Returns:
this
-
metricConfiguration
@Stability(Stable) public CfnLinkPropsMixin.LinkConfigurationProperty.Builder metricConfiguration(CfnLinkPropsMixin.LinkFilterProperty metricConfiguration) Sets the value ofCfnLinkPropsMixin.LinkConfigurationProperty.getMetricConfiguration()- Parameters:
metricConfiguration- Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLinkPropsMixin.LinkConfigurationProperty>- Returns:
- a new instance of
CfnLinkPropsMixin.LinkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-