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

com.pulumi.linode.inputs.GetAccountAvailabilitiesPlainArgs Maven / Gradle / Ivy

There is a newer version: 4.31.0-alpha.1732773076
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.linode.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.linode.inputs.GetAccountAvailabilitiesAvailability;
import com.pulumi.linode.inputs.GetAccountAvailabilitiesFilter;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetAccountAvailabilitiesPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAccountAvailabilitiesPlainArgs Empty = new GetAccountAvailabilitiesPlainArgs();

    @Import(name="availabilities")
    private @Nullable List availabilities;

    public Optional> availabilities() {
        return Optional.ofNullable(this.availabilities);
    }

    @Import(name="filters")
    private @Nullable List filters;

    public Optional> filters() {
        return Optional.ofNullable(this.filters);
    }

    private GetAccountAvailabilitiesPlainArgs() {}

    private GetAccountAvailabilitiesPlainArgs(GetAccountAvailabilitiesPlainArgs $) {
        this.availabilities = $.availabilities;
        this.filters = $.filters;
    }

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

    public static final class Builder {
        private GetAccountAvailabilitiesPlainArgs $;

        public Builder() {
            $ = new GetAccountAvailabilitiesPlainArgs();
        }

        public Builder(GetAccountAvailabilitiesPlainArgs defaults) {
            $ = new GetAccountAvailabilitiesPlainArgs(Objects.requireNonNull(defaults));
        }

        public Builder availabilities(@Nullable List availabilities) {
            $.availabilities = availabilities;
            return this;
        }

        public Builder availabilities(GetAccountAvailabilitiesAvailability... availabilities) {
            return availabilities(List.of(availabilities));
        }

        public Builder filters(@Nullable List filters) {
            $.filters = filters;
            return this;
        }

        public Builder filters(GetAccountAvailabilitiesFilter... filters) {
            return filters(List.of(filters));
        }

        public GetAccountAvailabilitiesPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy