Class CfnAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation>
- Enclosing class:
CfnAssociation
@Stability(Stable)
public static final class CfnAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation>
A fluent builder for
CfnAssociation.-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the Agent Space.build()configuration(IResolvable configuration) The configuration that directs how the Agent Space interacts with the given service.configuration(CfnAssociation.ServiceConfigurationProperty configuration) The configuration that directs how the Agent Space interacts with the given service.static CfnAssociation.BuilderlinkedAssociationIds(List<String> linkedAssociationIds) Set of linked association IDs for parent-child relationships.The identifier for the associated service.
-
Method Details
-
create
@Stability(Stable) public static CfnAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAssociation.Builder.
-
agentSpaceId
The unique identifier of the Agent Space.- Parameters:
agentSpaceId- The unique identifier of the Agent Space. This parameter is required.- Returns:
this- See Also:
-
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- Parameters:
configuration- The configuration that directs how the Agent Space interacts with the given service. This parameter is required.- Returns:
this- See Also:
-
configuration
@Stability(Stable) public CfnAssociation.Builder configuration(CfnAssociation.ServiceConfigurationProperty 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- Parameters:
configuration- The configuration that directs how the Agent Space interacts with the given service. This parameter is required.- Returns:
this- See Also:
-
serviceId
The identifier for the associated service.For
SourceAwsandAwsconfigurations, this must beaws. For all other service types, this is a UUID generated from the RegisterService command.- Parameters:
serviceId- The identifier for the associated service. This parameter is required.- Returns:
this- See Also:
-
linkedAssociationIds
@Stability(Stable) public CfnAssociation.Builder linkedAssociationIds(List<String> linkedAssociationIds) Set of linked association IDs for parent-child relationships.- Parameters:
linkedAssociationIds- Set of linked association IDs for parent-child relationships. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation>- Returns:
- a newly built instance of
CfnAssociation.
-