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

com.pulumi.azurenative.providerhub.outputs.DefaultRolloutSpecificationResponseRestOfTheWorldGroupOne Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.azurenative.providerhub.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DefaultRolloutSpecificationResponseRestOfTheWorldGroupOne {
    private @Nullable List regions;
    private @Nullable String waitDuration;

    private DefaultRolloutSpecificationResponseRestOfTheWorldGroupOne() {}
    public List regions() {
        return this.regions == null ? List.of() : this.regions;
    }
    public Optional waitDuration() {
        return Optional.ofNullable(this.waitDuration);
    }

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

    public static Builder builder(DefaultRolloutSpecificationResponseRestOfTheWorldGroupOne defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List regions;
        private @Nullable String waitDuration;
        public Builder() {}
        public Builder(DefaultRolloutSpecificationResponseRestOfTheWorldGroupOne defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.regions = defaults.regions;
    	      this.waitDuration = defaults.waitDuration;
        }

        @CustomType.Setter
        public Builder regions(@Nullable List regions) {

            this.regions = regions;
            return this;
        }
        public Builder regions(String... regions) {
            return regions(List.of(regions));
        }
        @CustomType.Setter
        public Builder waitDuration(@Nullable String waitDuration) {

            this.waitDuration = waitDuration;
            return this;
        }
        public DefaultRolloutSpecificationResponseRestOfTheWorldGroupOne build() {
            final var _resultValue = new DefaultRolloutSpecificationResponseRestOfTheWorldGroupOne();
            _resultValue.regions = regions;
            _resultValue.waitDuration = waitDuration;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy