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 Details

    • create

      @Stability(Stable) public static CfnResourceAssociation.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnResourceAssociation.Builder.
    • application

      @Stability(Stable) public CfnResourceAssociation.Builder application(String application)
      The name or ID of the application.

      Parameters:
      application - The name or ID of the application. This parameter is required.
      Returns:
      this
    • resource

      @Stability(Stable) public CfnResourceAssociation.Builder resource(String 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
    • resourceType

      @Stability(Stable) public CfnResourceAssociation.Builder resourceType(String 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
    • build

      @Stability(Stable) public CfnResourceAssociation build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnResourceAssociation>
      Returns:
      a newly built instance of CfnResourceAssociation.