Interface CreatePartnerAppRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePartnerAppRequest.Builder,CreatePartnerAppRequest>
,SageMakerRequest.Builder
,SdkBuilder<CreatePartnerAppRequest.Builder,CreatePartnerAppRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreatePartnerAppRequest
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.Builder
applicationConfig(Consumer<PartnerAppConfig.Builder> applicationConfig)
Configuration settings for the SageMaker Partner AI App.CreatePartnerAppRequest.Builder
applicationConfig(PartnerAppConfig applicationConfig)
Configuration settings for the SageMaker Partner AI App.CreatePartnerAppRequest.Builder
authType(String authType)
The authorization type that users use to access the SageMaker Partner AI App.CreatePartnerAppRequest.Builder
authType(PartnerAppAuthType authType)
The authorization type that users use to access the SageMaker Partner AI App.CreatePartnerAppRequest.Builder
clientToken(String clientToken)
A unique token that guarantees that the call to this API is idempotent.CreatePartnerAppRequest.Builder
enableIamSessionBasedIdentity(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.Builder
executionRoleArn(String executionRoleArn)
The ARN of the IAM role that the partner application uses.default CreatePartnerAppRequest.Builder
maintenanceConfig(Consumer<PartnerAppMaintenanceConfig.Builder> maintenanceConfig)
Maintenance configuration settings for the SageMaker Partner AI App.CreatePartnerAppRequest.Builder
maintenanceConfig(PartnerAppMaintenanceConfig maintenanceConfig)
Maintenance configuration settings for the SageMaker Partner AI App.CreatePartnerAppRequest.Builder
name(String name)
The name to give the SageMaker Partner AI App.CreatePartnerAppRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreatePartnerAppRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreatePartnerAppRequest.Builder
tags(Collection<Tag> tags)
Each tag consists of a key and an optional value.CreatePartnerAppRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Each tag consists of a key and an optional value.CreatePartnerAppRequest.Builder
tags(Tag... tags)
Each tag consists of a key and an optional value.CreatePartnerAppRequest.Builder
tier(String tier)
Indicates the instance type and size of the cluster attached to the SageMaker Partner AI App.CreatePartnerAppRequest.Builder
type(String type)
The type of SageMaker Partner AI App to create.CreatePartnerAppRequest.Builder
type(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.
-
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.Builder
avoiding the need to create one manually viaPartnerAppMaintenanceConfig.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaPartnerAppConfig.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePartnerAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-