com.pulumi.aws.bedrock.inputs.CustomModelValidationMetricArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.bedrock.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.util.Objects;
public final class CustomModelValidationMetricArgs extends com.pulumi.resources.ResourceArgs {
public static final CustomModelValidationMetricArgs Empty = new CustomModelValidationMetricArgs();
/**
* The validation loss associated with the validator.
*
*/
@Import(name="validationLoss", required=true)
private Output validationLoss;
/**
* @return The validation loss associated with the validator.
*
*/
public Output validationLoss() {
return this.validationLoss;
}
private CustomModelValidationMetricArgs() {}
private CustomModelValidationMetricArgs(CustomModelValidationMetricArgs $) {
this.validationLoss = $.validationLoss;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomModelValidationMetricArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private CustomModelValidationMetricArgs $;
public Builder() {
$ = new CustomModelValidationMetricArgs();
}
public Builder(CustomModelValidationMetricArgs defaults) {
$ = new CustomModelValidationMetricArgs(Objects.requireNonNull(defaults));
}
/**
* @param validationLoss The validation loss associated with the validator.
*
* @return builder
*
*/
public Builder validationLoss(Output validationLoss) {
$.validationLoss = validationLoss;
return this;
}
/**
* @param validationLoss The validation loss associated with the validator.
*
* @return builder
*
*/
public Builder validationLoss(Double validationLoss) {
return validationLoss(Output.of(validationLoss));
}
public CustomModelValidationMetricArgs build() {
if ($.validationLoss == null) {
throw new MissingRequiredPropertyException("CustomModelValidationMetricArgs", "validationLoss");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy