Class CfnPartnerAppMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnPartnerAppMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnerAppMixinProps>
- Enclosing interface:
CfnPartnerAppMixinProps
@Stability(Stable)
public static final class CfnPartnerAppMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnerAppMixinProps>
A builder for
CfnPartnerAppMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationConfig(CfnPartnerAppPropsMixin.PartnerAppConfigProperty applicationConfig) Sets the value ofCfnPartnerAppMixinProps.getApplicationConfig()applicationConfig(IResolvable applicationConfig) Sets the value ofCfnPartnerAppMixinProps.getApplicationConfig()appVersion(String appVersion) Sets the value ofCfnPartnerAppMixinProps.getAppVersion()Sets the value ofCfnPartnerAppMixinProps.getAuthType()build()Builds the configured instance.clientToken(String clientToken) Deprecated.this property has been deprecatedenableAutoMinorVersionUpgrade(Boolean enableAutoMinorVersionUpgrade) Sets the value ofCfnPartnerAppMixinProps.getEnableAutoMinorVersionUpgrade()enableAutoMinorVersionUpgrade(IResolvable enableAutoMinorVersionUpgrade) Sets the value ofCfnPartnerAppMixinProps.getEnableAutoMinorVersionUpgrade()enableIamSessionBasedIdentity(Boolean enableIamSessionBasedIdentity) Sets the value ofCfnPartnerAppMixinProps.getEnableIamSessionBasedIdentity()enableIamSessionBasedIdentity(IResolvable enableIamSessionBasedIdentity) Sets the value ofCfnPartnerAppMixinProps.getEnableIamSessionBasedIdentity()executionRoleArn(String executionRoleArn) Sets the value ofCfnPartnerAppMixinProps.getExecutionRoleArn()Sets the value ofCfnPartnerAppMixinProps.getKmsKeyId()maintenanceConfig(CfnPartnerAppPropsMixin.PartnerAppMaintenanceConfigProperty maintenanceConfig) Sets the value ofCfnPartnerAppMixinProps.getMaintenanceConfig()maintenanceConfig(IResolvable maintenanceConfig) Sets the value ofCfnPartnerAppMixinProps.getMaintenanceConfig()Sets the value ofCfnPartnerAppMixinProps.getName()Sets the value ofCfnPartnerAppMixinProps.getTags()Sets the value ofCfnPartnerAppMixinProps.getTier()Sets the value ofCfnPartnerAppMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationConfig
@Stability(Stable) public CfnPartnerAppMixinProps.Builder applicationConfig(IResolvable applicationConfig) Sets the value ofCfnPartnerAppMixinProps.getApplicationConfig()- Parameters:
applicationConfig- Configuration settings for the Partner AI App.- Returns:
this
-
applicationConfig
@Stability(Stable) public CfnPartnerAppMixinProps.Builder applicationConfig(CfnPartnerAppPropsMixin.PartnerAppConfigProperty applicationConfig) Sets the value ofCfnPartnerAppMixinProps.getApplicationConfig()- Parameters:
applicationConfig- Configuration settings for the Partner AI App.- Returns:
this
-
appVersion
Sets the value ofCfnPartnerAppMixinProps.getAppVersion()- Parameters:
appVersion- The version of the PartnerApp.- Returns:
this
-
authType
Sets the value ofCfnPartnerAppMixinProps.getAuthType()- Parameters:
authType- Defines the authentication type used for the Partner AI App.- Returns:
this
-
clientToken
@Stability(Deprecated) @Deprecated public CfnPartnerAppMixinProps.Builder clientToken(String clientToken) Deprecated.this property has been deprecatedSets the value ofCfnPartnerAppMixinProps.getClientToken()- Parameters:
clientToken- The client token for the PartnerApp.- Returns:
this
-
enableAutoMinorVersionUpgrade
@Stability(Stable) public CfnPartnerAppMixinProps.Builder enableAutoMinorVersionUpgrade(Boolean enableAutoMinorVersionUpgrade) Sets the value ofCfnPartnerAppMixinProps.getEnableAutoMinorVersionUpgrade()- Parameters:
enableAutoMinorVersionUpgrade- Enables automatic minor version upgrades for the PartnerApp.- Returns:
this
-
enableAutoMinorVersionUpgrade
@Stability(Stable) public CfnPartnerAppMixinProps.Builder enableAutoMinorVersionUpgrade(IResolvable enableAutoMinorVersionUpgrade) Sets the value ofCfnPartnerAppMixinProps.getEnableAutoMinorVersionUpgrade()- Parameters:
enableAutoMinorVersionUpgrade- Enables automatic minor version upgrades for the PartnerApp.- Returns:
this
-
enableIamSessionBasedIdentity
@Stability(Stable) public CfnPartnerAppMixinProps.Builder enableIamSessionBasedIdentity(Boolean enableIamSessionBasedIdentity) Sets the value ofCfnPartnerAppMixinProps.getEnableIamSessionBasedIdentity()- Parameters:
enableIamSessionBasedIdentity- Enables IAM Session based Identity for PartnerApp.- Returns:
this
-
enableIamSessionBasedIdentity
@Stability(Stable) public CfnPartnerAppMixinProps.Builder enableIamSessionBasedIdentity(IResolvable enableIamSessionBasedIdentity) Sets the value ofCfnPartnerAppMixinProps.getEnableIamSessionBasedIdentity()- Parameters:
enableIamSessionBasedIdentity- Enables IAM Session based Identity for PartnerApp.- Returns:
this
-
executionRoleArn
Sets the value ofCfnPartnerAppMixinProps.getExecutionRoleArn()- Parameters:
executionRoleArn- The Amazon Resource Name (ARN) of the IAM role of the user.- Returns:
this
-
kmsKeyId
Sets the value ofCfnPartnerAppMixinProps.getKmsKeyId()- Parameters:
kmsKeyId- The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.- Returns:
this
-
maintenanceConfig
@Stability(Stable) public CfnPartnerAppMixinProps.Builder maintenanceConfig(IResolvable maintenanceConfig) Sets the value ofCfnPartnerAppMixinProps.getMaintenanceConfig()- Parameters:
maintenanceConfig- A collection of settings that specify the maintenance schedule for the PartnerApp.- Returns:
this
-
maintenanceConfig
@Stability(Stable) public CfnPartnerAppMixinProps.Builder maintenanceConfig(CfnPartnerAppPropsMixin.PartnerAppMaintenanceConfigProperty maintenanceConfig) Sets the value ofCfnPartnerAppMixinProps.getMaintenanceConfig()- Parameters:
maintenanceConfig- A collection of settings that specify the maintenance schedule for the PartnerApp.- Returns:
this
-
name
Sets the value ofCfnPartnerAppMixinProps.getName()- Parameters:
name- The name of the Partner AI App. This name must be unique within your account and region.- Returns:
this
-
tags
Sets the value ofCfnPartnerAppMixinProps.getTags()- Parameters:
tags- A list of tags to apply to the PartnerApp.- Returns:
this
-
tier
Sets the value ofCfnPartnerAppMixinProps.getTier()- Parameters:
tier- Specifies the tier or level of the Partner AI App. The tier size impacts the speed and capabilities of the application. For more information, see Set up Partner AI Apps .- Returns:
this
-
type
Sets the value ofCfnPartnerAppMixinProps.getType()- Parameters:
type- Specifies the type of Partner AI App being created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartnerAppMixinProps>- Returns:
- a new instance of
CfnPartnerAppMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-