Class EndpointConfigurationArgs.Builder

  • Enclosing class:
    EndpointConfigurationArgs

    public static final class EndpointConfigurationArgs.Builder
    extends java.lang.Object
    • Method Detail

      • executionRoleArn

        public EndpointConfigurationArgs.Builder executionRoleArn​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> executionRoleArn)
        Parameters:
        executionRoleArn - ARN of an IAM role that SageMaker AI can assume to perform actions on your behalf. Required when `modelName` is not specified in `productionVariants` to support Inference Components.
        Returns:
        builder
      • executionRoleArn

        public EndpointConfigurationArgs.Builder executionRoleArn​(java.lang.String executionRoleArn)
        Parameters:
        executionRoleArn - ARN of an IAM role that SageMaker AI can assume to perform actions on your behalf. Required when `modelName` is not specified in `productionVariants` to support Inference Components.
        Returns:
        builder
      • kmsKeyArn

        public EndpointConfigurationArgs.Builder kmsKeyArn​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of a AWS KMS key that SageMaker AI uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
        Returns:
        builder
      • kmsKeyArn

        public EndpointConfigurationArgs.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of a AWS KMS key that SageMaker AI uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
        Returns:
        builder
      • name

        public EndpointConfigurationArgs.Builder name​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the endpoint configuration. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. If `namePrefix` is specified, `name` is populated with the full name.
        Returns:
        builder
      • name

        public EndpointConfigurationArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the endpoint configuration. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. If `namePrefix` is specified, `name` is populated with the full name.
        Returns:
        builder
      • namePrefix

        public EndpointConfigurationArgs.Builder namePrefix​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - Unique endpoint configuration name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • namePrefix

        public EndpointConfigurationArgs.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Unique endpoint configuration name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • region

        public EndpointConfigurationArgs.Builder region​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public EndpointConfigurationArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • shadowProductionVariants

        public EndpointConfigurationArgs.Builder shadowProductionVariants​(@Nullable
                                                                          com.pulumi.core.Output<java.util.List<EndpointConfigurationShadowProductionVariantArgs>> shadowProductionVariants)
        Parameters:
        shadowProductionVariants - Models that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on `productionVariants`. If you use this field, you can only specify one variant for `productionVariants` and one variant for `shadowProductionVariants`. See below (same arguments as `productionVariants`).
        Returns:
        builder
      • shadowProductionVariants

        public EndpointConfigurationArgs.Builder shadowProductionVariants​(java.util.List<EndpointConfigurationShadowProductionVariantArgs> shadowProductionVariants)
        Parameters:
        shadowProductionVariants - Models that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on `productionVariants`. If you use this field, you can only specify one variant for `productionVariants` and one variant for `shadowProductionVariants`. See below (same arguments as `productionVariants`).
        Returns:
        builder
      • shadowProductionVariants

        public EndpointConfigurationArgs.Builder shadowProductionVariants​(EndpointConfigurationShadowProductionVariantArgs... shadowProductionVariants)
        Parameters:
        shadowProductionVariants - Models that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on `productionVariants`. If you use this field, you can only specify one variant for `productionVariants` and one variant for `shadowProductionVariants`. See below (same arguments as `productionVariants`).
        Returns:
        builder
      • tags

        public EndpointConfigurationArgs.Builder tags​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Mapping of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public EndpointConfigurationArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Mapping of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder