Class BindTargetApplicationResult.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalogappregistry.alpha.BindTargetApplicationResult.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BindTargetApplicationResult>
- Enclosing interface:
BindTargetApplicationResult
@Stability(Experimental)
public static final class BindTargetApplicationResult.Builder
extends Object
implements software.amazon.jsii.Builder<BindTargetApplicationResult>
A builder for
BindTargetApplicationResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplication
(IApplication application) Sets the value ofBindTargetApplicationResult.getApplication()
associateCrossAccountStacks
(Boolean associateCrossAccountStacks) Sets the value ofBindTargetApplicationResult.getAssociateCrossAccountStacks()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
application
@Stability(Experimental) public BindTargetApplicationResult.Builder application(IApplication application) Sets the value ofBindTargetApplicationResult.getApplication()
- Parameters:
application
- Created or imported application. This parameter is required.- Returns:
this
-
associateCrossAccountStacks
@Stability(Experimental) public BindTargetApplicationResult.Builder associateCrossAccountStacks(Boolean associateCrossAccountStacks) Sets the value ofBindTargetApplicationResult.getAssociateCrossAccountStacks()
- Parameters:
associateCrossAccountStacks
- Enables cross-account associations with the target application. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BindTargetApplicationResult>
- Returns:
- a new instance of
BindTargetApplicationResult
- Throws:
NullPointerException
- if any required attribute was not provided
-