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

com.pulumi.kubernetes.resource.v1alpha2.outputs.NamedResourcesIntSlice Maven / Gradle / Ivy

There is a newer version: 4.19.0-alpha.1730750641
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.kubernetes.resource.v1alpha2.outputs;

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

@CustomType
public final class NamedResourcesIntSlice {
    /**
     * @return Ints is the slice of 64-bit integers.
     * 
     */
    private List ints;

    private NamedResourcesIntSlice() {}
    /**
     * @return Ints is the slice of 64-bit integers.
     * 
     */
    public List ints() {
        return this.ints;
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy