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

com.pulumi.sumologic.outputs.ElbSourcePathCustomService 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.sumologic.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 ElbSourcePathCustomService {
    private @Nullable List prefixes;
    private @Nullable String serviceName;

    private ElbSourcePathCustomService() {}
    public List prefixes() {
        return this.prefixes == null ? List.of() : this.prefixes;
    }
    public Optional serviceName() {
        return Optional.ofNullable(this.serviceName);
    }

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

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

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

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

            this.serviceName = serviceName;
            return this;
        }
        public ElbSourcePathCustomService build() {
            final var _resultValue = new ElbSourcePathCustomService();
            _resultValue.prefixes = prefixes;
            _resultValue.serviceName = serviceName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy