com.pulumi.aws.comprehend.outputs.EntityRecognizerInputDataConfigAnnotations Maven / Gradle / Ivy
// *** 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.comprehend.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EntityRecognizerInputDataConfigAnnotations {
/**
* @return Location of training annotations.
*
*/
private String s3Uri;
private @Nullable String testS3Uri;
private EntityRecognizerInputDataConfigAnnotations() {}
/**
* @return Location of training annotations.
*
*/
public String s3Uri() {
return this.s3Uri;
}
public Optional testS3Uri() {
return Optional.ofNullable(this.testS3Uri);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EntityRecognizerInputDataConfigAnnotations defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String s3Uri;
private @Nullable String testS3Uri;
public Builder() {}
public Builder(EntityRecognizerInputDataConfigAnnotations defaults) {
Objects.requireNonNull(defaults);
this.s3Uri = defaults.s3Uri;
this.testS3Uri = defaults.testS3Uri;
}
@CustomType.Setter
public Builder s3Uri(String s3Uri) {
if (s3Uri == null) {
throw new MissingRequiredPropertyException("EntityRecognizerInputDataConfigAnnotations", "s3Uri");
}
this.s3Uri = s3Uri;
return this;
}
@CustomType.Setter
public Builder testS3Uri(@Nullable String testS3Uri) {
this.testS3Uri = testS3Uri;
return this;
}
public EntityRecognizerInputDataConfigAnnotations build() {
final var _resultValue = new EntityRecognizerInputDataConfigAnnotations();
_resultValue.s3Uri = s3Uri;
_resultValue.testS3Uri = testS3Uri;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy