Class CfnAssociation.MCPServerNewRelicConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAssociation.MCPServerNewRelicConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation.MCPServerNewRelicConfigurationProperty>
- Enclosing interface:
CfnAssociation.MCPServerNewRelicConfigurationProperty
@Stability(Stable)
public static final class CfnAssociation.MCPServerNewRelicConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation.MCPServerNewRelicConfigurationProperty>
A builder for
CfnAssociation.MCPServerNewRelicConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAssociation.MCPServerNewRelicConfigurationProperty.getAccountId()build()Builds the configured instance.Sets the value ofCfnAssociation.MCPServerNewRelicConfigurationProperty.getEndpoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Stable) public CfnAssociation.MCPServerNewRelicConfigurationProperty.Builder accountId(String accountId) Sets the value ofCfnAssociation.MCPServerNewRelicConfigurationProperty.getAccountId()- Parameters:
accountId- New Relic Account ID. This parameter is required.- Returns:
this
-
endpoint
@Stability(Stable) public CfnAssociation.MCPServerNewRelicConfigurationProperty.Builder endpoint(String endpoint) Sets the value ofCfnAssociation.MCPServerNewRelicConfigurationProperty.getEndpoint()- Parameters:
endpoint- MCP server endpoint URL (e.g., https://mcp.newrelic.com/mcp/). This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation.MCPServerNewRelicConfigurationProperty>- Returns:
- a new instance of
CfnAssociation.MCPServerNewRelicConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-