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

com.pulumi.aws.ec2.inputs.GetDedicatedHostPlainArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.ec2.inputs;

import com.pulumi.aws.ec2.inputs.GetDedicatedHostFilter;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetDedicatedHostPlainArgs Empty = new GetDedicatedHostPlainArgs();

    /**
     * Configuration block. Detailed below.
     * 
     */
    @Import(name="filters")
    private @Nullable List filters;

    /**
     * @return Configuration block. Detailed below.
     * 
     */
    public Optional> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * ID of the Dedicated Host.
     * 
     */
    @Import(name="hostId")
    private @Nullable String hostId;

    /**
     * @return ID of the Dedicated Host.
     * 
     */
    public Optional hostId() {
        return Optional.ofNullable(this.hostId);
    }

    @Import(name="tags")
    private @Nullable Map tags;

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

    private GetDedicatedHostPlainArgs() {}

    private GetDedicatedHostPlainArgs(GetDedicatedHostPlainArgs $) {
        this.filters = $.filters;
        this.hostId = $.hostId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetDedicatedHostPlainArgs $;

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

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

        /**
         * @param filters Configuration block. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable List filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters Configuration block. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(GetDedicatedHostFilter... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param hostId ID of the Dedicated Host.
         * 
         * @return builder
         * 
         */
        public Builder hostId(@Nullable String hostId) {
            $.hostId = hostId;
            return this;
        }

        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

        public GetDedicatedHostPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy