Interface CreatePartnerAppRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePartnerAppRequest.Builder,CreatePartnerAppRequest>,SageMakerRequest.Builder,SdkBuilder<CreatePartnerAppRequest.Builder,CreatePartnerAppRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreatePartnerAppRequest
@Mutable @NotThreadSafe public static interface CreatePartnerAppRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreatePartnerAppRequest.Builder,CreatePartnerAppRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreatePartnerAppRequest.BuilderapplicationConfig(Consumer<PartnerAppConfig.Builder> applicationConfig)Configuration settings for the SageMaker Partner AI App.CreatePartnerAppRequest.BuilderapplicationConfig(PartnerAppConfig applicationConfig)Configuration settings for the SageMaker Partner AI App.CreatePartnerAppRequest.BuilderauthType(String authType)The authorization type that users use to access the SageMaker Partner AI App.CreatePartnerAppRequest.BuilderauthType(PartnerAppAuthType authType)The authorization type that users use to access the SageMaker Partner AI App.CreatePartnerAppRequest.BuilderclientToken(String clientToken)A unique token that guarantees that the call to this API is idempotent.CreatePartnerAppRequest.BuilderenableIamSessionBasedIdentity(Boolean enableIamSessionBasedIdentity)When set toTRUE, the SageMaker Partner AI App sets the Amazon Web Services IAM session name or the authenticated IAM user as the identity of the SageMaker Partner AI App user.CreatePartnerAppRequest.BuilderexecutionRoleArn(String executionRoleArn)The ARN of the IAM role that the partner application uses.CreatePartnerAppRequest.BuilderkmsKeyId(String kmsKeyId)SageMaker Partner AI Apps uses Amazon Web Services KMS to encrypt data at rest using an Amazon Web Services managed key by default.default CreatePartnerAppRequest.BuildermaintenanceConfig(Consumer<PartnerAppMaintenanceConfig.Builder> maintenanceConfig)Maintenance configuration settings for the SageMaker Partner AI App.CreatePartnerAppRequest.BuildermaintenanceConfig(PartnerAppMaintenanceConfig maintenanceConfig)Maintenance configuration settings for the SageMaker Partner AI App.CreatePartnerAppRequest.Buildername(String name)The name to give the SageMaker Partner AI App.CreatePartnerAppRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePartnerAppRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreatePartnerAppRequest.Buildertags(Collection<Tag> tags)Each tag consists of a key and an optional value.CreatePartnerAppRequest.Buildertags(Consumer<Tag.Builder>... tags)Each tag consists of a key and an optional value.CreatePartnerAppRequest.Buildertags(Tag... tags)Each tag consists of a key and an optional value.CreatePartnerAppRequest.Buildertier(String tier)Indicates the instance type and size of the cluster attached to the SageMaker Partner AI App.CreatePartnerAppRequest.Buildertype(String type)The type of SageMaker Partner AI App to create.CreatePartnerAppRequest.Buildertype(PartnerAppType type)The type of SageMaker Partner AI App to create.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreatePartnerAppRequest.Builder name(String name)
The name to give the SageMaker Partner AI App.
- Parameters:
name- The name to give the SageMaker Partner AI App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
CreatePartnerAppRequest.Builder type(String type)
The type of SageMaker Partner AI App to create. Must be one of the following:
lakera-guard,comet,deepchecks-llm-evaluation, orfiddler.- Parameters:
type- The type of SageMaker Partner AI App to create. Must be one of the following:lakera-guard,comet,deepchecks-llm-evaluation, orfiddler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PartnerAppType,PartnerAppType
-
type
CreatePartnerAppRequest.Builder type(PartnerAppType type)
The type of SageMaker Partner AI App to create. Must be one of the following:
lakera-guard,comet,deepchecks-llm-evaluation, orfiddler.- Parameters:
type- The type of SageMaker Partner AI App to create. Must be one of the following:lakera-guard,comet,deepchecks-llm-evaluation, orfiddler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PartnerAppType,PartnerAppType
-
executionRoleArn
CreatePartnerAppRequest.Builder executionRoleArn(String executionRoleArn)
The ARN of the IAM role that the partner application uses.
- Parameters:
executionRoleArn- The ARN of the IAM role that the partner application uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
CreatePartnerAppRequest.Builder kmsKeyId(String kmsKeyId)
SageMaker Partner AI Apps uses Amazon Web Services KMS to encrypt data at rest using an Amazon Web Services managed key by default. For more control, specify a customer managed key.
- Parameters:
kmsKeyId- SageMaker Partner AI Apps uses Amazon Web Services KMS to encrypt data at rest using an Amazon Web Services managed key by default. For more control, specify a customer managed key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceConfig
CreatePartnerAppRequest.Builder maintenanceConfig(PartnerAppMaintenanceConfig maintenanceConfig)
Maintenance configuration settings for the SageMaker Partner AI App.
- Parameters:
maintenanceConfig- Maintenance configuration settings for the SageMaker Partner AI App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceConfig
default CreatePartnerAppRequest.Builder maintenanceConfig(Consumer<PartnerAppMaintenanceConfig.Builder> maintenanceConfig)
Maintenance configuration settings for the SageMaker Partner AI App.
This is a convenience method that creates an instance of thePartnerAppMaintenanceConfig.Builderavoiding the need to create one manually viaPartnerAppMaintenanceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaintenanceConfig(PartnerAppMaintenanceConfig).- Parameters:
maintenanceConfig- a consumer that will call methods onPartnerAppMaintenanceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
maintenanceConfig(PartnerAppMaintenanceConfig)
-
tier
CreatePartnerAppRequest.Builder tier(String tier)
Indicates the instance type and size of the cluster attached to the SageMaker Partner AI App.
- Parameters:
tier- Indicates the instance type and size of the cluster attached to the SageMaker Partner AI App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationConfig
CreatePartnerAppRequest.Builder applicationConfig(PartnerAppConfig applicationConfig)
Configuration settings for the SageMaker Partner AI App.
- Parameters:
applicationConfig- Configuration settings for the SageMaker Partner AI App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationConfig
default CreatePartnerAppRequest.Builder applicationConfig(Consumer<PartnerAppConfig.Builder> applicationConfig)
Configuration settings for the SageMaker Partner AI App.
This is a convenience method that creates an instance of thePartnerAppConfig.Builderavoiding the need to create one manually viaPartnerAppConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapplicationConfig(PartnerAppConfig).- Parameters:
applicationConfig- a consumer that will call methods onPartnerAppConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
applicationConfig(PartnerAppConfig)
-
authType
CreatePartnerAppRequest.Builder authType(String authType)
The authorization type that users use to access the SageMaker Partner AI App.
- Parameters:
authType- The authorization type that users use to access the SageMaker Partner AI App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PartnerAppAuthType,PartnerAppAuthType
-
authType
CreatePartnerAppRequest.Builder authType(PartnerAppAuthType authType)
The authorization type that users use to access the SageMaker Partner AI App.
- Parameters:
authType- The authorization type that users use to access the SageMaker Partner AI App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PartnerAppAuthType,PartnerAppAuthType
-
enableIamSessionBasedIdentity
CreatePartnerAppRequest.Builder enableIamSessionBasedIdentity(Boolean enableIamSessionBasedIdentity)
When set to
TRUE, the SageMaker Partner AI App sets the Amazon Web Services IAM session name or the authenticated IAM user as the identity of the SageMaker Partner AI App user.- Parameters:
enableIamSessionBasedIdentity- When set toTRUE, the SageMaker Partner AI App sets the Amazon Web Services IAM session name or the authenticated IAM user as the identity of the SageMaker Partner AI App user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreatePartnerAppRequest.Builder clientToken(String clientToken)
A unique token that guarantees that the call to this API is idempotent.
- Parameters:
clientToken- A unique token that guarantees that the call to this API is idempotent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePartnerAppRequest.Builder tags(Collection<Tag> tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
- Parameters:
tags- Each tag consists of a key and an optional value. Tag keys must be unique per resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePartnerAppRequest.Builder tags(Tag... tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
- Parameters:
tags- Each tag consists of a key and an optional value. Tag keys must be unique per resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePartnerAppRequest.Builder tags(Consumer<Tag.Builder>... tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreatePartnerAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePartnerAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-