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