Class AppReference.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.AppReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppReference>
- Enclosing interface:
AppReference
@Stability(Stable)
public static final class AppReference.Builder
extends Object
implements software.amazon.jsii.Builder<AppReference>
A builder for
AppReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAppReference.getAppArn()
Sets the value ofAppReference.getAppName()
Sets the value ofAppReference.getAppType()
build()
Builds the configured instance.Sets the value ofAppReference.getDomainId()
userProfileName
(String userProfileName) Sets the value ofAppReference.getUserProfileName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appArn
Sets the value ofAppReference.getAppArn()
- Parameters:
appArn
- The ARN of the App resource. This parameter is required.- Returns:
this
-
appName
Sets the value ofAppReference.getAppName()
- Parameters:
appName
- The AppName of the App resource. This parameter is required.- Returns:
this
-
appType
Sets the value ofAppReference.getAppType()
- Parameters:
appType
- The AppType of the App resource. This parameter is required.- Returns:
this
-
domainId
Sets the value ofAppReference.getDomainId()
- Parameters:
domainId
- The DomainId of the App resource. This parameter is required.- Returns:
this
-
userProfileName
Sets the value ofAppReference.getUserProfileName()
- Parameters:
userProfileName
- The UserProfileName of the App resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AppReference>
- Returns:
- a new instance of
AppReference
- Throws:
NullPointerException
- if any required attribute was not provided
-