Interface CreatePartnerAppRequest.Builder

    • 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, or fiddler.

        Parameters:
        type - The type of SageMaker Partner AI App to create. Must be one of the following: lakera-guard, comet, deepchecks-llm-evaluation, or fiddler.
        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, or fiddler.

        Parameters:
        type - The type of SageMaker Partner AI App to create. Must be one of the following: lakera-guard, comet, deepchecks-llm-evaluation, or fiddler.
        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.
      • 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.
      • 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
      • 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 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.
        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 the Tag.Builder avoiding the need to create one manually via Tag.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 on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)