Class CfnResourceAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalogappregistry.CfnResourceAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceAssociation>
- Enclosing class:
CfnResourceAssociation
@Stability(Stable)
public static final class CfnResourceAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceAssociation>
A fluent builder for
CfnResourceAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionapplication
(String application) The name or ID of the application.build()
The name or ID of the resource of which the application will be associated.resourceType
(String resourceType) The type of resource of which the application will be associated.
-
Method Details
-
create
@Stability(Stable) public static CfnResourceAssociation.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
CfnResourceAssociation.Builder
.
-
application
The name or ID of the application.- Parameters:
application
- The name or ID of the application. This parameter is required.- Returns:
this
- See Also:
-
resource
The name or ID of the resource of which the application will be associated.- Parameters:
resource
- The name or ID of the resource of which the application will be associated. This parameter is required.- Returns:
this
- See Also:
-
resourceType
The type of resource of which the application will be associated.- Parameters:
resourceType
- The type of resource of which the application will be associated. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceAssociation>
- Returns:
- a newly built instance of
CfnResourceAssociation
.
-