Class CfnPartnerAppProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnPartnerAppProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnerAppProps>
- Enclosing interface:
CfnPartnerAppProps
@Stability(Stable)
public static final class CfnPartnerAppProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnerAppProps>
A builder for
CfnPartnerAppProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationConfig(IResolvable applicationConfig) Sets the value ofCfnPartnerAppProps.getApplicationConfig()applicationConfig(CfnPartnerApp.PartnerAppConfigProperty applicationConfig) Sets the value ofCfnPartnerAppProps.getApplicationConfig()Sets the value ofCfnPartnerAppProps.getAuthType()build()Builds the configured instance.clientToken(String clientToken) Deprecated.this property has been deprecatedenableIamSessionBasedIdentity(Boolean enableIamSessionBasedIdentity) Sets the value ofCfnPartnerAppProps.getEnableIamSessionBasedIdentity()enableIamSessionBasedIdentity(IResolvable enableIamSessionBasedIdentity) Sets the value ofCfnPartnerAppProps.getEnableIamSessionBasedIdentity()executionRoleArn(String executionRoleArn) Sets the value ofCfnPartnerAppProps.getExecutionRoleArn()Sets the value ofCfnPartnerAppProps.getKmsKeyId()maintenanceConfig(IResolvable maintenanceConfig) Sets the value ofCfnPartnerAppProps.getMaintenanceConfig()maintenanceConfig(CfnPartnerApp.PartnerAppMaintenanceConfigProperty maintenanceConfig) Sets the value ofCfnPartnerAppProps.getMaintenanceConfig()Sets the value ofCfnPartnerAppProps.getName()Sets the value ofCfnPartnerAppProps.getTags()Sets the value ofCfnPartnerAppProps.getTier()Sets the value ofCfnPartnerAppProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authType
Sets the value ofCfnPartnerAppProps.getAuthType()- Parameters:
authType- The Auth type of PartnerApp. This parameter is required.- Returns:
this
-
executionRoleArn
Sets the value ofCfnPartnerAppProps.getExecutionRoleArn()- Parameters:
executionRoleArn- The execution role for the user. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPartnerAppProps.getName()- Parameters:
name- The name of the SageMaker Partner AI App. This parameter is required.- Returns:
this
-
tier
Sets the value ofCfnPartnerAppProps.getTier()- Parameters:
tier- The tier of the PartnerApp. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnPartnerAppProps.getType()- Parameters:
type- The type of SageMaker Partner AI App to create. This parameter is required. Must be one of the following:lakera-guard,comet,deepchecks-llm-evaluation, orfiddler.- Returns:
this
-
applicationConfig
@Stability(Stable) public CfnPartnerAppProps.Builder applicationConfig(IResolvable applicationConfig) Sets the value ofCfnPartnerAppProps.getApplicationConfig()- Parameters:
applicationConfig- A collection of configuration settings for the PartnerApp.- Returns:
this
-
applicationConfig
@Stability(Stable) public CfnPartnerAppProps.Builder applicationConfig(CfnPartnerApp.PartnerAppConfigProperty applicationConfig) Sets the value ofCfnPartnerAppProps.getApplicationConfig()- Parameters:
applicationConfig- A collection of configuration settings for the PartnerApp.- Returns:
this
-
clientToken
@Stability(Deprecated) @Deprecated public CfnPartnerAppProps.Builder clientToken(String clientToken) Deprecated.this property has been deprecatedSets the value ofCfnPartnerAppProps.getClientToken()- Parameters:
clientToken- The client token for the PartnerApp.- Returns:
this
-
enableIamSessionBasedIdentity
@Stability(Stable) public CfnPartnerAppProps.Builder enableIamSessionBasedIdentity(Boolean enableIamSessionBasedIdentity) Sets the value ofCfnPartnerAppProps.getEnableIamSessionBasedIdentity()- Parameters:
enableIamSessionBasedIdentity- Enables IAM Session based Identity for PartnerApp.- Returns:
this
-
enableIamSessionBasedIdentity
@Stability(Stable) public CfnPartnerAppProps.Builder enableIamSessionBasedIdentity(IResolvable enableIamSessionBasedIdentity) Sets the value ofCfnPartnerAppProps.getEnableIamSessionBasedIdentity()- Parameters:
enableIamSessionBasedIdentity- Enables IAM Session based Identity for PartnerApp.- Returns:
this
-
kmsKeyId
Sets the value ofCfnPartnerAppProps.getKmsKeyId()- Parameters:
kmsKeyId- The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.- Returns:
this
-
maintenanceConfig
@Stability(Stable) public CfnPartnerAppProps.Builder maintenanceConfig(IResolvable maintenanceConfig) Sets the value ofCfnPartnerAppProps.getMaintenanceConfig()- Parameters:
maintenanceConfig- A collection of settings that specify the maintenance schedule for the PartnerApp.- Returns:
this
-
maintenanceConfig
@Stability(Stable) public CfnPartnerAppProps.Builder maintenanceConfig(CfnPartnerApp.PartnerAppMaintenanceConfigProperty maintenanceConfig) Sets the value ofCfnPartnerAppProps.getMaintenanceConfig()- Parameters:
maintenanceConfig- A collection of settings that specify the maintenance schedule for the PartnerApp.- Returns:
this
-
tags
Sets the value ofCfnPartnerAppProps.getTags()- Parameters:
tags- A list of tags to apply to the PartnerApp.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartnerAppProps>- Returns:
- a new instance of
CfnPartnerAppProps - Throws:
NullPointerException- if any required attribute was not provided
-