Class CfnResourceAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.servicecatalogappregistry.CfnResourceAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceAssociationMixinProps>
- Enclosing interface:
CfnResourceAssociationMixinProps
@Stability(Stable)
public static final class CfnResourceAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceAssociationMixinProps>
A builder for
CfnResourceAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(String application) Sets the value ofCfnResourceAssociationMixinProps.getApplication()build()Builds the configured instance.Sets the value ofCfnResourceAssociationMixinProps.getResource()resourceType(String resourceType) Sets the value ofCfnResourceAssociationMixinProps.getResourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
application
Sets the value ofCfnResourceAssociationMixinProps.getApplication()- Parameters:
application- The name or ID of the application.- Returns:
this
-
resource
Sets the value ofCfnResourceAssociationMixinProps.getResource()- Parameters:
resource- The name or ID of the resource of which the application will be associated.- Returns:
this
-
resourceType
@Stability(Stable) public CfnResourceAssociationMixinProps.Builder resourceType(String resourceType) Sets the value ofCfnResourceAssociationMixinProps.getResourceType()- Parameters:
resourceType- The type of resource of which the application will be associated.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceAssociationMixinProps>- Returns:
- a new instance of
CfnResourceAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-