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

com.pulumi.spotinst.oceancd.outputs.StrategyCanaryBackgroundVerification Maven / Gradle / Ivy

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.spotinst.oceancd.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class StrategyCanaryBackgroundVerification {
    /**
     * @return List of Verification Template names.
     * 
     */
    private List templateNames;

    private StrategyCanaryBackgroundVerification() {}
    /**
     * @return List of Verification Template names.
     * 
     */
    public List templateNames() {
        return this.templateNames;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(StrategyCanaryBackgroundVerification defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List templateNames;
        public Builder() {}
        public Builder(StrategyCanaryBackgroundVerification defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.templateNames = defaults.templateNames;
        }

        @CustomType.Setter
        public Builder templateNames(List templateNames) {
            if (templateNames == null) {
              throw new MissingRequiredPropertyException("StrategyCanaryBackgroundVerification", "templateNames");
            }
            this.templateNames = templateNames;
            return this;
        }
        public Builder templateNames(String... templateNames) {
            return templateNames(List.of(templateNames));
        }
        public StrategyCanaryBackgroundVerification build() {
            final var _resultValue = new StrategyCanaryBackgroundVerification();
            _resultValue.templateNames = templateNames;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy