Class DevOpsGuruNewAnomalyAssociation.ResourceCollection.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruNewAnomalyAssociation.ResourceCollection.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruNewAnomalyAssociation.ResourceCollection>
- Enclosing interface:
DevOpsGuruNewAnomalyAssociation.ResourceCollection
@Stability(Experimental)
public static final class DevOpsGuruNewAnomalyAssociation.ResourceCollection.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruNewAnomalyAssociation.ResourceCollection>
A builder for
DevOpsGuruNewAnomalyAssociation.ResourceCollection-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudFormation(DevOpsGuruNewAnomalyAssociation.CloudFormation cloudFormation) Sets the value ofDevOpsGuruNewAnomalyAssociation.ResourceCollection.getCloudFormation()tags(List<? extends DevOpsGuruNewAnomalyAssociation.TagType> tags) Sets the value ofDevOpsGuruNewAnomalyAssociation.ResourceCollection.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudFormation
@Stability(Experimental) public DevOpsGuruNewAnomalyAssociation.ResourceCollection.Builder cloudFormation(DevOpsGuruNewAnomalyAssociation.CloudFormation cloudFormation) Sets the value ofDevOpsGuruNewAnomalyAssociation.ResourceCollection.getCloudFormation()- Parameters:
cloudFormation- cloudFormation property. Specify an array of string values to match this event if the actual value of cloudFormation is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
tags
@Stability(Experimental) public DevOpsGuruNewAnomalyAssociation.ResourceCollection.Builder tags(List<? extends DevOpsGuruNewAnomalyAssociation.TagType> tags) Sets the value ofDevOpsGuruNewAnomalyAssociation.ResourceCollection.getTags()- Parameters:
tags- tags property. Specify an array of string values to match this event if the actual value of tags is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DevOpsGuruNewAnomalyAssociation.ResourceCollection>- Returns:
- a new instance of
DevOpsGuruNewAnomalyAssociation.ResourceCollection - Throws:
NullPointerException- if any required attribute was not provided
-