Class CustomModelState.Builder

  • Enclosing class:
    CustomModelState

    public static final class CustomModelState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • baseModelIdentifier

        public CustomModelState.Builder baseModelIdentifier​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> baseModelIdentifier)
        Parameters:
        baseModelIdentifier - The Amazon Resource Name (ARN) of the base model.
        Returns:
        builder
      • baseModelIdentifier

        public CustomModelState.Builder baseModelIdentifier​(java.lang.String baseModelIdentifier)
        Parameters:
        baseModelIdentifier - The Amazon Resource Name (ARN) of the base model.
        Returns:
        builder
      • customModelArn

        public CustomModelState.Builder customModelArn​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> customModelArn)
        Parameters:
        customModelArn - The ARN of the output model.
        Returns:
        builder
      • customModelArn

        public CustomModelState.Builder customModelArn​(java.lang.String customModelArn)
        Parameters:
        customModelArn - The ARN of the output model.
        Returns:
        builder
      • customModelKmsKeyId

        public CustomModelState.Builder customModelKmsKeyId​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> customModelKmsKeyId)
        Parameters:
        customModelKmsKeyId - The custom model is encrypted at rest using this key. Specify the key ARN.
        Returns:
        builder
      • customModelKmsKeyId

        public CustomModelState.Builder customModelKmsKeyId​(java.lang.String customModelKmsKeyId)
        Parameters:
        customModelKmsKeyId - The custom model is encrypted at rest using this key. Specify the key ARN.
        Returns:
        builder
      • customModelName

        public CustomModelState.Builder customModelName​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> customModelName)
        Parameters:
        customModelName - Name for the custom model.
        Returns:
        builder
      • customModelName

        public CustomModelState.Builder customModelName​(java.lang.String customModelName)
        Parameters:
        customModelName - Name for the custom model.
        Returns:
        builder
      • customizationType

        public CustomModelState.Builder customizationType​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> customizationType)
        Parameters:
        customizationType - The customization type. Valid values: `FINE_TUNING`, `CONTINUED_PRE_TRAINING`.
        Returns:
        builder
      • customizationType

        public CustomModelState.Builder customizationType​(java.lang.String customizationType)
        Parameters:
        customizationType - The customization type. Valid values: `FINE_TUNING`, `CONTINUED_PRE_TRAINING`.
        Returns:
        builder
      • hyperparameters

        public CustomModelState.Builder hyperparameters​(@Nullable
                                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> hyperparameters)
        Parameters:
        hyperparameters - [Parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html) related to tuning the model.
        Returns:
        builder
      • hyperparameters

        public CustomModelState.Builder hyperparameters​(java.util.Map<java.lang.String,​java.lang.String> hyperparameters)
        Parameters:
        hyperparameters - [Parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html) related to tuning the model.
        Returns:
        builder
      • jobArn

        public CustomModelState.Builder jobArn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> jobArn)
        Parameters:
        jobArn - The ARN of the customization job.
        Returns:
        builder
      • jobArn

        public CustomModelState.Builder jobArn​(java.lang.String jobArn)
        Parameters:
        jobArn - The ARN of the customization job.
        Returns:
        builder
      • jobName

        public CustomModelState.Builder jobName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> jobName)
        Parameters:
        jobName - A name for the customization job.
        Returns:
        builder
      • jobName

        public CustomModelState.Builder jobName​(java.lang.String jobName)
        Parameters:
        jobName - A name for the customization job.
        Returns:
        builder
      • jobStatus

        public CustomModelState.Builder jobStatus​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> jobStatus)
        Parameters:
        jobStatus - The status of the customization job. A successful job transitions from `InProgress` to `Completed` when the output model is ready to use.
        Returns:
        builder
      • jobStatus

        public CustomModelState.Builder jobStatus​(java.lang.String jobStatus)
        Parameters:
        jobStatus - The status of the customization job. A successful job transitions from `InProgress` to `Completed` when the output model is ready to use.
        Returns:
        builder
      • roleArn

        public CustomModelState.Builder roleArn​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf.
        Returns:
        builder
      • roleArn

        public CustomModelState.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf.
        Returns:
        builder
      • tags

        public CustomModelState.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the customization job and custom model. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public CustomModelState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the customization job and custom model. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public CustomModelState.Builder tagsAll​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public CustomModelState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • validationMetrics

        public CustomModelState.Builder validationMetrics​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<CustomModelValidationMetricArgs>> validationMetrics)
        Parameters:
        validationMetrics - The loss metric for each validator that you provided.
        Returns:
        builder
      • vpcConfig

        public CustomModelState.Builder vpcConfig​(@Nullable
                                                  com.pulumi.core.Output<CustomModelVpcConfigArgs> vpcConfig)
        Parameters:
        vpcConfig - Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
        Returns:
        builder
      • vpcConfig

        public CustomModelState.Builder vpcConfig​(CustomModelVpcConfigArgs vpcConfig)
        Parameters:
        vpcConfig - Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
        Returns:
        builder