Class CfnSourceAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ram.CfnSourceAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSourceAssociationMixinProps>
- Enclosing interface:
CfnSourceAssociationMixinProps
@Stability(Stable)
public static final class CfnSourceAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSourceAssociationMixinProps>
A builder for
CfnSourceAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceShareArn(String resourceShareArn) Sets the value ofCfnSourceAssociationMixinProps.getResourceShareArn()Sets the value ofCfnSourceAssociationMixinProps.getSourceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceId
Sets the value ofCfnSourceAssociationMixinProps.getSourceId()- Parameters:
sourceId- Specifies the ID of the source account to associate with the resource share.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSourceAssociationMixinProps>- Returns:
- a new instance of
CfnSourceAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided