Class CollaborationReference.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CollaborationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CollaborationReference>
- Enclosing interface:
CollaborationReference
@Stability(Stable)
public static final class CollaborationReference.Builder
extends Object
implements software.amazon.jsii.Builder<CollaborationReference>
A builder for
CollaborationReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.collaborationArn
(String collaborationArn) Sets the value ofCollaborationReference.getCollaborationArn()
collaborationIdentifier
(String collaborationIdentifier) Sets the value ofCollaborationReference.getCollaborationIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collaborationArn
Sets the value ofCollaborationReference.getCollaborationArn()
- Parameters:
collaborationArn
- The ARN of the Collaboration resource. This parameter is required.- Returns:
this
-
collaborationIdentifier
@Stability(Stable) public CollaborationReference.Builder collaborationIdentifier(String collaborationIdentifier) Sets the value ofCollaborationReference.getCollaborationIdentifier()
- Parameters:
collaborationIdentifier
- The CollaborationIdentifier of the Collaboration resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CollaborationReference>
- Returns:
- a new instance of
CollaborationReference
- Throws:
NullPointerException
- if any required attribute was not provided
-