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 AgentSpace.build()configuration(IResolvable configuration) The configuration that directs how AgentSpace interacts with the given service.configuration(CfnAssociation.ServiceConfigurationProperty configuration) The configuration that directs how AgentSpace interacts with the given service.static CfnAssociation.BuilderThe 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 AgentSpace.- Parameters:
agentSpaceId- The unique identifier of the AgentSpace. This parameter is required.- Returns:
this- See Also:
-
configuration
The configuration that directs how AgentSpace interacts with the given service.- Parameters:
configuration- The configuration that directs how AgentSpace 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 AgentSpace interacts with the given service.- Parameters:
configuration- The configuration that directs how AgentSpace interacts with the given service. This parameter is required.- Returns:
this- See Also:
-
serviceId
The identifier for the associated service.For SourceAws and Aws configurations, this must be 'aws'. 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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation>- Returns:
- a newly built instance of
CfnAssociation.
-