Class CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociationPropsMixin.ServiceConfigurationProperty>
- Enclosing interface:
CfnAssociationPropsMixin.ServiceConfigurationProperty
@Stability(Stable)
public static final class CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociationPropsMixin.ServiceConfigurationProperty>
A builder for
CfnAssociationPropsMixin.ServiceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getAws()aws(IResolvable aws) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getAws()build()Builds the configured instance.Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getDynatrace()dynatrace(IResolvable dynatrace) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getDynatrace()Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getEventChannel()eventChannel(IResolvable eventChannel) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getEventChannel()Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getGitHub()gitHub(IResolvable gitHub) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getGitHub()Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getGitLab()gitLab(IResolvable gitLab) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getGitLab()Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getMcpServer()mcpServer(IResolvable mcpServer) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getMcpServer()mcpServerDatadog(IResolvable mcpServerDatadog) mcpServerNewRelic(CfnAssociationPropsMixin.MCPServerNewRelicConfigurationProperty mcpServerNewRelic) mcpServerNewRelic(IResolvable mcpServerNewRelic) mcpServerSplunk(IResolvable mcpServerSplunk) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getServiceNow()serviceNow(IResolvable serviceNow) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getServiceNow()Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getSlack()slack(IResolvable slack) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getSlack()Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getSourceAws()sourceAws(IResolvable sourceAws) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getSourceAws()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aws
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder aws(IResolvable aws) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getAws()- Parameters:
aws- Configuration for AWS monitor account integration. Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring account.- Returns:
this
-
aws
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder aws(CfnAssociationPropsMixin.AWSConfigurationProperty aws) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getAws()- Parameters:
aws- Configuration for AWS monitor account integration. Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring account.- Returns:
this
-
dynatrace
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder dynatrace(IResolvable dynatrace) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getDynatrace()- Parameters:
dynatrace- Configuration for Dynatrace monitoring integration. Specifies the environment ID, resources to monitor, and webhook settings to enable the Agent Space to access Dynatrace metrics, traces, and logs.- Returns:
this
-
dynatrace
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder dynatrace(CfnAssociationPropsMixin.DynatraceConfigurationProperty dynatrace) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getDynatrace()- Parameters:
dynatrace- Configuration for Dynatrace monitoring integration. Specifies the environment ID, resources to monitor, and webhook settings to enable the Agent Space to access Dynatrace metrics, traces, and logs.- Returns:
this
-
eventChannel
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder eventChannel(IResolvable eventChannel) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getEventChannel()- Parameters:
eventChannel- Configuration for Event Channel integration. Specifies webhook settings to enable the Agent Space to receive and process real-time events from external systems.- Returns:
this
-
eventChannel
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder eventChannel(CfnAssociationPropsMixin.EventChannelConfigurationProperty eventChannel) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getEventChannel()- Parameters:
eventChannel- Configuration for Event Channel integration. Specifies webhook settings to enable the Agent Space to receive and process real-time events from external systems.- Returns:
this
-
gitHub
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder gitHub(IResolvable gitHub) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getGitHub()- Parameters:
gitHub- Configuration for GitHub repository integration. Specifies the repository name, repository ID, owner, and owner type to enable the Agent Space to access code, pull requests, and issues.- Returns:
this
-
gitHub
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder gitHub(CfnAssociationPropsMixin.GitHubConfigurationProperty gitHub) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getGitHub()- Parameters:
gitHub- Configuration for GitHub repository integration. Specifies the repository name, repository ID, owner, and owner type to enable the Agent Space to access code, pull requests, and issues.- Returns:
this
-
gitLab
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder gitLab(IResolvable gitLab) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getGitLab()- Parameters:
gitLab- Configuration for GitLab project integration. Specifies the project ID, project path, instance identifier, and webhook settings to enable the Agent Space to access code, merge requests, and issues.- Returns:
this
-
gitLab
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder gitLab(CfnAssociationPropsMixin.GitLabConfigurationProperty gitLab) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getGitLab()- Parameters:
gitLab- Configuration for GitLab project integration. Specifies the project ID, project path, instance identifier, and webhook settings to enable the Agent Space to access code, merge requests, and issues.- Returns:
this
-
mcpServer
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder mcpServer(IResolvable mcpServer) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getMcpServer()- Parameters:
mcpServer- Configuration for custom MCP (Model Context Protocol) server integration. Specifies the server name, endpoint URL, available tools, description, and webhook settings to enable the Agent Space to interact with custom MCP servers.- Returns:
this
-
mcpServer
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder mcpServer(CfnAssociationPropsMixin.MCPServerConfigurationProperty mcpServer) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getMcpServer()- Parameters:
mcpServer- Configuration for custom MCP (Model Context Protocol) server integration. Specifies the server name, endpoint URL, available tools, description, and webhook settings to enable the Agent Space to interact with custom MCP servers.- Returns:
this
-
mcpServerDatadog
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder mcpServerDatadog(IResolvable mcpServerDatadog) - Parameters:
mcpServerDatadog- Configuration for Datadog MCP server integration. Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query metrics, traces, and logs from Datadog.- Returns:
this
-
mcpServerDatadog
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder mcpServerDatadog(CfnAssociationPropsMixin.MCPServerDatadogConfigurationProperty mcpServerDatadog) - Parameters:
mcpServerDatadog- Configuration for Datadog MCP server integration. Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query metrics, traces, and logs from Datadog.- Returns:
this
-
mcpServerNewRelic
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder mcpServerNewRelic(IResolvable mcpServerNewRelic) - Parameters:
mcpServerNewRelic- Configuration for New Relic MCP server integration. Specifies the New Relic account ID and MCP endpoint URL to enable the Agent Space to query metrics, traces, and logs from New Relic.- Returns:
this
-
mcpServerNewRelic
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder mcpServerNewRelic(CfnAssociationPropsMixin.MCPServerNewRelicConfigurationProperty mcpServerNewRelic) - Parameters:
mcpServerNewRelic- Configuration for New Relic MCP server integration. Specifies the New Relic account ID and MCP endpoint URL to enable the Agent Space to query metrics, traces, and logs from New Relic.- Returns:
this
-
mcpServerSplunk
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder mcpServerSplunk(IResolvable mcpServerSplunk) - Parameters:
mcpServerSplunk- Configuration for Splunk MCP server integration. Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query logs, metrics, and events from Splunk.- Returns:
this
-
mcpServerSplunk
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder mcpServerSplunk(CfnAssociationPropsMixin.MCPServerSplunkConfigurationProperty mcpServerSplunk) - Parameters:
mcpServerSplunk- Configuration for Splunk MCP server integration. Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query logs, metrics, and events from Splunk.- Returns:
this
-
serviceNow
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder serviceNow(IResolvable serviceNow) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getServiceNow()- Parameters:
serviceNow- Configuration for ServiceNow instance integration. Specifies the instance URL, instance ID, and webhook settings to enable the Agent Space to create, update, and manage ServiceNow incidents and change requests.- Returns:
this
-
serviceNow
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder serviceNow(CfnAssociationPropsMixin.ServiceNowConfigurationProperty serviceNow) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getServiceNow()- Parameters:
serviceNow- Configuration for ServiceNow instance integration. Specifies the instance URL, instance ID, and webhook settings to enable the Agent Space to create, update, and manage ServiceNow incidents and change requests.- Returns:
this
-
slack
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder slack(IResolvable slack) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getSlack()- Parameters:
slack- Configuration for Slack workspace integration. Specifies the workspace ID, workspace name, and transmission targets to enable the Agent Space to send notifications to designated Slack channels.- Returns:
this
-
slack
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder slack(CfnAssociationPropsMixin.SlackConfigurationProperty slack) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getSlack()- Parameters:
slack- Configuration for Slack workspace integration. Specifies the workspace ID, workspace name, and transmission targets to enable the Agent Space to send notifications to designated Slack channels.- Returns:
this
-
sourceAws
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder sourceAws(IResolvable sourceAws) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getSourceAws()- Parameters:
sourceAws- Configuration for AWS source account integration. Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.- Returns:
this
-
sourceAws
@Stability(Stable) public CfnAssociationPropsMixin.ServiceConfigurationProperty.Builder sourceAws(CfnAssociationPropsMixin.SourceAwsConfigurationProperty sourceAws) Sets the value ofCfnAssociationPropsMixin.ServiceConfigurationProperty.getSourceAws()- Parameters:
sourceAws- Configuration for AWS source account integration. Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociationPropsMixin.ServiceConfigurationProperty>- Returns:
- a new instance of
CfnAssociationPropsMixin.ServiceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-