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

com.pulumi.kubernetes.resource.v1alpha2.outputs.NamedResourcesStringSlicePatch 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 java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class NamedResourcesStringSlicePatch {
    /**
     * @return Strings is the slice of strings.
     * 
     */
    private @Nullable List strings;

    private NamedResourcesStringSlicePatch() {}
    /**
     * @return Strings is the slice of strings.
     * 
     */
    public List strings() {
        return this.strings == null ? List.of() : this.strings;
    }

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

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

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

            this.strings = strings;
            return this;
        }
        public Builder strings(String... strings) {
            return strings(List.of(strings));
        }
        public NamedResourcesStringSlicePatch build() {
            final var _resultValue = new NamedResourcesStringSlicePatch();
            _resultValue.strings = strings;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy