Class CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationsignals.CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty>
- Enclosing interface:
CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty
@Stability(Stable)
public static final class CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dependencyKeyAttributes(Map<String, String> dependencyKeyAttributes) dependencyKeyAttributes(IResolvable dependencyKeyAttributes) dependencyOperationName(String dependencyOperationName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dependencyKeyAttributes
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty.Builder dependencyKeyAttributes(Map<String, String> dependencyKeyAttributes) Sets the value ofCfnServiceLevelObjectivePropsMixin.DependencyConfigProperty.getDependencyKeyAttributes()- Parameters:
dependencyKeyAttributes- If this SLO is related to a metric collected by Application Signals, you must use this field to specify which dependency the SLO metric is related to.Typedesignates the type of object this is.ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource.Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service.Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource.Environmentspecifies the location where this object is hosted, or what it belongs to.
- Returns:
this
-
dependencyKeyAttributes
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty.Builder dependencyKeyAttributes(IResolvable dependencyKeyAttributes) Sets the value ofCfnServiceLevelObjectivePropsMixin.DependencyConfigProperty.getDependencyKeyAttributes()- Parameters:
dependencyKeyAttributes- If this SLO is related to a metric collected by Application Signals, you must use this field to specify which dependency the SLO metric is related to.Typedesignates the type of object this is.ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource.Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service.Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource.Environmentspecifies the location where this object is hosted, or what it belongs to.
- Returns:
this
-
dependencyOperationName
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty.Builder dependencyOperationName(String dependencyOperationName) Sets the value ofCfnServiceLevelObjectivePropsMixin.DependencyConfigProperty.getDependencyOperationName()- Parameters:
dependencyOperationName- When the SLO monitors a specific operation of the dependency, this field specifies the name of that operation in the dependency.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty>- Returns:
- a new instance of
CfnServiceLevelObjectivePropsMixin.DependencyConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-