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