Class CfnAssociation.MCPServerSplunkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAssociation.MCPServerSplunkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation.MCPServerSplunkConfigurationProperty>
- Enclosing interface:
CfnAssociation.MCPServerSplunkConfigurationProperty
@Stability(Stable)
public static final class CfnAssociation.MCPServerSplunkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation.MCPServerSplunkConfigurationProperty>
A builder for
CfnAssociation.MCPServerSplunkConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAssociation.MCPServerSplunkConfigurationProperty.getDescription()enableWebhookUpdates(Boolean enableWebhookUpdates) enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociation.MCPServerSplunkConfigurationProperty.getEndpoint()Sets the value ofCfnAssociation.MCPServerSplunkConfigurationProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpoint
@Stability(Stable) public CfnAssociation.MCPServerSplunkConfigurationProperty.Builder endpoint(String endpoint) Sets the value ofCfnAssociation.MCPServerSplunkConfigurationProperty.getEndpoint()- Parameters:
endpoint- MCP server endpoint URL. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public CfnAssociation.MCPServerSplunkConfigurationProperty.Builder name(String name) Sets the value ofCfnAssociation.MCPServerSplunkConfigurationProperty.getName()- Parameters:
name- The name of the MCP server. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnAssociation.MCPServerSplunkConfigurationProperty.Builder description(String description) Sets the value ofCfnAssociation.MCPServerSplunkConfigurationProperty.getDescription()- Parameters:
description- The description of the MCP server.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociation.MCPServerSplunkConfigurationProperty.Builder enableWebhookUpdates(Boolean enableWebhookUpdates) - Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociation.MCPServerSplunkConfigurationProperty.Builder enableWebhookUpdates(IResolvable enableWebhookUpdates) - Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation.MCPServerSplunkConfigurationProperty>- Returns:
- a new instance of
CfnAssociation.MCPServerSplunkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-