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

com.pulumi.azurenative.networkfunction.outputs.IngestionPolicyPropertiesFormatResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.networkfunction.outputs;

import com.pulumi.azurenative.networkfunction.outputs.IngestionSourcesPropertiesFormatResponse;
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 IngestionPolicyPropertiesFormatResponse {
    /**
     * @return Ingestion Sources.
     * 
     */
    private @Nullable List ingestionSources;
    /**
     * @return The ingestion type.
     * 
     */
    private @Nullable String ingestionType;

    private IngestionPolicyPropertiesFormatResponse() {}
    /**
     * @return Ingestion Sources.
     * 
     */
    public List ingestionSources() {
        return this.ingestionSources == null ? List.of() : this.ingestionSources;
    }
    /**
     * @return The ingestion type.
     * 
     */
    public Optional ingestionType() {
        return Optional.ofNullable(this.ingestionType);
    }

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

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

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

            this.ingestionSources = ingestionSources;
            return this;
        }
        public Builder ingestionSources(IngestionSourcesPropertiesFormatResponse... ingestionSources) {
            return ingestionSources(List.of(ingestionSources));
        }
        @CustomType.Setter
        public Builder ingestionType(@Nullable String ingestionType) {

            this.ingestionType = ingestionType;
            return this;
        }
        public IngestionPolicyPropertiesFormatResponse build() {
            final var _resultValue = new IngestionPolicyPropertiesFormatResponse();
            _resultValue.ingestionSources = ingestionSources;
            _resultValue.ingestionType = ingestionType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy