All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.appconfig.outputs.GetConfigurationProfileValidator Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
Show 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;

@CustomType
public final class GetConfigurationProfileValidator {
    /**
     * @return Either the JSON Schema content or the ARN of an AWS Lambda function.
     * 
     */
    private String content;
    /**
     * @return Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
     * 
     */
    private String type;

    private GetConfigurationProfileValidator() {}
    /**
     * @return Either the JSON Schema content or the ARN of an AWS Lambda function.
     * 
     */
    public String content() {
        return 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(GetConfigurationProfileValidator defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String content;
        private String type;
        public Builder() {}
        public Builder(GetConfigurationProfileValidator defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.content = defaults.content;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder content(String content) {
            if (content == null) {
              throw new MissingRequiredPropertyException("GetConfigurationProfileValidator", "content");
            }
            this.content = content;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetConfigurationProfileValidator", "type");
            }
            this.type = type;
            return this;
        }
        public GetConfigurationProfileValidator build() {
            final var _resultValue = new GetConfigurationProfileValidator();
            _resultValue.content = content;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy