Class CfnAssociation.SlackConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAssociation.SlackConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation.SlackConfigurationProperty>
- Enclosing interface:
CfnAssociation.SlackConfigurationProperty
@Stability(Stable)
public static final class CfnAssociation.SlackConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation.SlackConfigurationProperty>
A builder for
CfnAssociation.SlackConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.transmissionTarget(IResolvable transmissionTarget) Sets the value ofCfnAssociation.SlackConfigurationProperty.getTransmissionTarget()transmissionTarget(CfnAssociation.SlackTransmissionTargetProperty transmissionTarget) Sets the value ofCfnAssociation.SlackConfigurationProperty.getTransmissionTarget()workspaceId(String workspaceId) Sets the value ofCfnAssociation.SlackConfigurationProperty.getWorkspaceId()workspaceName(String workspaceName) Sets the value ofCfnAssociation.SlackConfigurationProperty.getWorkspaceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
transmissionTarget
@Stability(Stable) public CfnAssociation.SlackConfigurationProperty.Builder transmissionTarget(IResolvable transmissionTarget) Sets the value ofCfnAssociation.SlackConfigurationProperty.getTransmissionTarget()- Parameters:
transmissionTarget- Transmission targets for agent notifications. This parameter is required.- Returns:
this
-
transmissionTarget
@Stability(Stable) public CfnAssociation.SlackConfigurationProperty.Builder transmissionTarget(CfnAssociation.SlackTransmissionTargetProperty transmissionTarget) Sets the value ofCfnAssociation.SlackConfigurationProperty.getTransmissionTarget()- Parameters:
transmissionTarget- Transmission targets for agent notifications. This parameter is required.- Returns:
this
-
workspaceId
@Stability(Stable) public CfnAssociation.SlackConfigurationProperty.Builder workspaceId(String workspaceId) Sets the value ofCfnAssociation.SlackConfigurationProperty.getWorkspaceId()- Parameters:
workspaceId- Associated Slack workspace ID. This parameter is required.- Returns:
this
-
workspaceName
@Stability(Stable) public CfnAssociation.SlackConfigurationProperty.Builder workspaceName(String workspaceName) Sets the value ofCfnAssociation.SlackConfigurationProperty.getWorkspaceName()- Parameters:
workspaceName- Associated Slack workspace name. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation.SlackConfigurationProperty>- Returns:
- a new instance of
CfnAssociation.SlackConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-