com.pulumi.aws.appconfig.outputs.ConfigurationProfileValidator 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.appconfig.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 ConfigurationProfileValidator {
/**
* @return Either the JSON Schema content or the ARN of an AWS Lambda function.
*
*/
private @Nullable String content;
/**
* @return Type of validator. Valid values: `JSON_SCHEMA` and `LAMBDA`.
*
*/
private String type;
private ConfigurationProfileValidator() {}
/**
* @return Either the JSON Schema content or the ARN of an AWS Lambda function.
*
*/
public Optional content() {
return Optional.ofNullable(this.content);
}
/**
* @return Type of validator. Valid values: `JSON_SCHEMA` and `LAMBDA`.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ConfigurationProfileValidator defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String content;
private String type;
public Builder() {}
public Builder(ConfigurationProfileValidator defaults) {
Objects.requireNonNull(defaults);
this.content = defaults.content;
this.type = defaults.type;
}
@CustomType.Setter
public Builder content(@Nullable String content) {
this.content = content;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("ConfigurationProfileValidator", "type");
}
this.type = type;
return this;
}
public ConfigurationProfileValidator build() {
final var _resultValue = new ConfigurationProfileValidator();
_resultValue.content = content;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy