Class CfnAssociation.ServiceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAssociation.ServiceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation.ServiceConfigurationProperty>
- Enclosing interface:
CfnAssociation.ServiceConfigurationProperty
@Stability(Stable)
public static final class CfnAssociation.ServiceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation.ServiceConfigurationProperty>
A builder for
CfnAssociation.ServiceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaws(IResolvable aws) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getAws()Sets the value ofCfnAssociation.ServiceConfigurationProperty.getAws()build()Builds the configured instance.dynatrace(IResolvable dynatrace) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getDynatrace()Sets the value ofCfnAssociation.ServiceConfigurationProperty.getDynatrace()eventChannel(IResolvable eventChannel) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getEventChannel()eventChannel(CfnAssociation.EventChannelConfigurationProperty eventChannel) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getEventChannel()gitHub(IResolvable gitHub) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getGitHub()Sets the value ofCfnAssociation.ServiceConfigurationProperty.getGitHub()gitLab(IResolvable gitLab) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getGitLab()Sets the value ofCfnAssociation.ServiceConfigurationProperty.getGitLab()mcpServer(IResolvable mcpServer) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServer()Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServer()mcpServerDatadog(IResolvable mcpServerDatadog) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerDatadog()mcpServerDatadog(CfnAssociation.MCPServerDatadogConfigurationProperty mcpServerDatadog) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerDatadog()mcpServerNewRelic(IResolvable mcpServerNewRelic) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerNewRelic()mcpServerNewRelic(CfnAssociation.MCPServerNewRelicConfigurationProperty mcpServerNewRelic) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerNewRelic()mcpServerSplunk(IResolvable mcpServerSplunk) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerSplunk()mcpServerSplunk(CfnAssociation.MCPServerSplunkConfigurationProperty mcpServerSplunk) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerSplunk()serviceNow(IResolvable serviceNow) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getServiceNow()Sets the value ofCfnAssociation.ServiceConfigurationProperty.getServiceNow()slack(IResolvable slack) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getSlack()Sets the value ofCfnAssociation.ServiceConfigurationProperty.getSlack()sourceAws(IResolvable sourceAws) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getSourceAws()Sets the value ofCfnAssociation.ServiceConfigurationProperty.getSourceAws()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aws
Sets the value ofCfnAssociation.ServiceConfigurationProperty.getAws()- Parameters:
aws- AWS association for 'monitor' account.- Returns:
this
-
aws
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder aws(CfnAssociation.AWSConfigurationProperty aws) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getAws()- Parameters:
aws- AWS association for 'monitor' account.- Returns:
this
-
dynatrace
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder dynatrace(IResolvable dynatrace) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getDynatrace()- Parameters:
dynatrace- Dynatrace monitoring configuration.- Returns:
this
-
dynatrace
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder dynatrace(CfnAssociation.DynatraceConfigurationProperty dynatrace) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getDynatrace()- Parameters:
dynatrace- Dynatrace monitoring configuration.- Returns:
this
-
eventChannel
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder eventChannel(IResolvable eventChannel) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getEventChannel()- Parameters:
eventChannel- EventChannelconfiguration.- Returns:
this
-
eventChannel
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder eventChannel(CfnAssociation.EventChannelConfigurationProperty eventChannel) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getEventChannel()- Parameters:
eventChannel- EventChannelconfiguration.- Returns:
this
-
gitHub
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder gitHub(IResolvable gitHub) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getGitHub()- Parameters:
gitHub- GitHub repository integration configuration.- Returns:
this
-
gitHub
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder gitHub(CfnAssociation.GitHubConfigurationProperty gitHub) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getGitHub()- Parameters:
gitHub- GitHub repository integration configuration.- Returns:
this
-
gitLab
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder gitLab(IResolvable gitLab) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getGitLab()- Parameters:
gitLab- GitLab project integration configuration.- Returns:
this
-
gitLab
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder gitLab(CfnAssociation.GitLabConfigurationProperty gitLab) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getGitLab()- Parameters:
gitLab- GitLab project integration configuration.- Returns:
this
-
mcpServer
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder mcpServer(IResolvable mcpServer) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServer()- Parameters:
mcpServer- MCP server configuration.- Returns:
this
-
mcpServer
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder mcpServer(CfnAssociation.MCPServerConfigurationProperty mcpServer) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServer()- Parameters:
mcpServer- MCP server configuration.- Returns:
this
-
mcpServerDatadog
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder mcpServerDatadog(IResolvable mcpServerDatadog) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerDatadog()- Parameters:
mcpServerDatadog- Datadog MCP server configuration.- Returns:
this
-
mcpServerDatadog
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder mcpServerDatadog(CfnAssociation.MCPServerDatadogConfigurationProperty mcpServerDatadog) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerDatadog()- Parameters:
mcpServerDatadog- Datadog MCP server configuration.- Returns:
this
-
mcpServerNewRelic
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder mcpServerNewRelic(IResolvable mcpServerNewRelic) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerNewRelic()- Parameters:
mcpServerNewRelic- NewRelic MCP server configuration.- Returns:
this
-
mcpServerNewRelic
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder mcpServerNewRelic(CfnAssociation.MCPServerNewRelicConfigurationProperty mcpServerNewRelic) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerNewRelic()- Parameters:
mcpServerNewRelic- NewRelic MCP server configuration.- Returns:
this
-
mcpServerSplunk
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder mcpServerSplunk(IResolvable mcpServerSplunk) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerSplunk()- Parameters:
mcpServerSplunk- Splunk MCP server configuration.- Returns:
this
-
mcpServerSplunk
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder mcpServerSplunk(CfnAssociation.MCPServerSplunkConfigurationProperty mcpServerSplunk) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerSplunk()- Parameters:
mcpServerSplunk- Splunk MCP server configuration.- Returns:
this
-
serviceNow
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder serviceNow(IResolvable serviceNow) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getServiceNow()- Parameters:
serviceNow- ServiceNow integration configuration.- Returns:
this
-
serviceNow
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder serviceNow(CfnAssociation.ServiceNowConfigurationProperty serviceNow) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getServiceNow()- Parameters:
serviceNow- ServiceNow integration configuration.- Returns:
this
-
slack
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder slack(IResolvable slack) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getSlack()- Parameters:
slack- Slack workspace integration configuration.- Returns:
this
-
slack
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder slack(CfnAssociation.SlackConfigurationProperty slack) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getSlack()- Parameters:
slack- Slack workspace integration configuration.- Returns:
this
-
sourceAws
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder sourceAws(IResolvable sourceAws) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getSourceAws()- Parameters:
sourceAws- AWS association for 'source' account.- Returns:
this
-
sourceAws
@Stability(Stable) public CfnAssociation.ServiceConfigurationProperty.Builder sourceAws(CfnAssociation.SourceAwsConfigurationProperty sourceAws) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getSourceAws()- Parameters:
sourceAws- AWS association for 'source' account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation.ServiceConfigurationProperty>- Returns:
- a new instance of
CfnAssociation.ServiceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-