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