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- 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 CfnAssociation.ServiceConfigurationProperty.Builder aws(CfnAssociation.AWSConfigurationProperty aws) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder dynatrace(IResolvable dynatrace) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder dynatrace(CfnAssociation.DynatraceConfigurationProperty dynatrace) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder eventChannel(IResolvable eventChannel) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder eventChannel(CfnAssociation.EventChannelConfigurationProperty eventChannel) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder gitHub(IResolvable gitHub) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder gitHub(CfnAssociation.GitHubConfigurationProperty gitHub) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder gitLab(IResolvable gitLab) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder gitLab(CfnAssociation.GitLabConfigurationProperty gitLab) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder mcpServer(IResolvable mcpServer) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder mcpServer(CfnAssociation.MCPServerConfigurationProperty mcpServer) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder mcpServerDatadog(IResolvable mcpServerDatadog) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerDatadog()- 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 CfnAssociation.ServiceConfigurationProperty.Builder mcpServerDatadog(CfnAssociation.MCPServerDatadogConfigurationProperty mcpServerDatadog) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerDatadog()- 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 CfnAssociation.ServiceConfigurationProperty.Builder mcpServerNewRelic(IResolvable mcpServerNewRelic) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerNewRelic()- 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 CfnAssociation.ServiceConfigurationProperty.Builder mcpServerNewRelic(CfnAssociation.MCPServerNewRelicConfigurationProperty mcpServerNewRelic) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerNewRelic()- 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 CfnAssociation.ServiceConfigurationProperty.Builder mcpServerSplunk(IResolvable mcpServerSplunk) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerSplunk()- 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 CfnAssociation.ServiceConfigurationProperty.Builder mcpServerSplunk(CfnAssociation.MCPServerSplunkConfigurationProperty mcpServerSplunk) Sets the value ofCfnAssociation.ServiceConfigurationProperty.getMcpServerSplunk()- 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 CfnAssociation.ServiceConfigurationProperty.Builder serviceNow(IResolvable serviceNow) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder serviceNow(CfnAssociation.ServiceNowConfigurationProperty serviceNow) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder slack(IResolvable slack) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder slack(CfnAssociation.SlackConfigurationProperty slack) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder sourceAws(IResolvable sourceAws) Sets the value ofCfnAssociation.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 CfnAssociation.ServiceConfigurationProperty.Builder sourceAws(CfnAssociation.SourceAwsConfigurationProperty sourceAws) Sets the value ofCfnAssociation.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<CfnAssociation.ServiceConfigurationProperty>- Returns:
- a new instance of
CfnAssociation.ServiceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-