Class CfnAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociationMixinProps>
- Enclosing interface:
CfnAssociationMixinProps
@Stability(Stable)
public static final class CfnAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociationMixinProps>
A builder for
CfnAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) Sets the value ofCfnAssociationMixinProps.getAgentSpaceId()build()Builds the configured instance.Sets the value ofCfnAssociationMixinProps.getConfiguration()configuration(IResolvable configuration) Sets the value ofCfnAssociationMixinProps.getConfiguration()linkedAssociationIds(List<String> linkedAssociationIds) Sets the value ofCfnAssociationMixinProps.getLinkedAssociationIds()Sets the value ofCfnAssociationMixinProps.getServiceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentSpaceId
Sets the value ofCfnAssociationMixinProps.getAgentSpaceId()- Parameters:
agentSpaceId- The unique identifier of the Agent Space.- Returns:
this
-
configuration
Sets the value ofCfnAssociationMixinProps.getConfiguration()- Parameters:
configuration- The configuration that directs how the Agent Space interacts with the given service. You can specify only one configuration type per association.Allowed Values :
SourceAws|Aws|GitHub|GitLab|Slack|Dynatrace|ServiceNow|MCPServer|MCPServerNewRelic|MCPServerDatadog|MCPServerSplunk|EventChannel- Returns:
this
-
configuration
@Stability(Stable) public CfnAssociationMixinProps.Builder configuration(CfnAssociationPropsMixin.ServiceConfigurationProperty configuration) Sets the value ofCfnAssociationMixinProps.getConfiguration()- Parameters:
configuration- The configuration that directs how the Agent Space interacts with the given service. You can specify only one configuration type per association.Allowed Values :
SourceAws|Aws|GitHub|GitLab|Slack|Dynatrace|ServiceNow|MCPServer|MCPServerNewRelic|MCPServerDatadog|MCPServerSplunk|EventChannel- Returns:
this
-
linkedAssociationIds
@Stability(Stable) public CfnAssociationMixinProps.Builder linkedAssociationIds(List<String> linkedAssociationIds) Sets the value ofCfnAssociationMixinProps.getLinkedAssociationIds()- Parameters:
linkedAssociationIds- Set of linked association IDs for parent-child relationships.- Returns:
this
-
serviceId
Sets the value ofCfnAssociationMixinProps.getServiceId()- Parameters:
serviceId- The identifier for the associated service. ForSourceAwsandAwsconfigurations, this must beaws. For all other service types, this is a UUID generated from the RegisterService command.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociationMixinProps>- Returns:
- a new instance of
CfnAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-