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

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

Go to download

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

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.aws.ec2.inputs;

import com.pulumi.aws.ec2.inputs.VpcIpamResourceDiscoveryOperatingRegionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
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 VpcIpamResourceDiscoveryState extends com.pulumi.resources.ResourceArgs {

    public static final VpcIpamResourceDiscoveryState Empty = new VpcIpamResourceDiscoveryState();

    /**
     * Amazon Resource Name (ARN) of IPAM Resource Discovery
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Amazon Resource Name (ARN) of IPAM Resource Discovery
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * A description for the IPAM Resource Discovery.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description for the IPAM Resource Discovery.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The home region of the Resource Discovery
     * 
     */
    @Import(name="ipamResourceDiscoveryRegion")
    private @Nullable Output ipamResourceDiscoveryRegion;

    /**
     * @return The home region of the Resource Discovery
     * 
     */
    public Optional> ipamResourceDiscoveryRegion() {
        return Optional.ofNullable(this.ipamResourceDiscoveryRegion);
    }

    /**
     * A boolean to identify if the Resource Discovery is the accounts default resource discovery
     * 
     */
    @Import(name="isDefault")
    private @Nullable Output isDefault;

    /**
     * @return A boolean to identify if the Resource Discovery is the accounts default resource discovery
     * 
     */
    public Optional> isDefault() {
        return Optional.ofNullable(this.isDefault);
    }

    /**
     * Determines which regions the Resource Discovery will enable IPAM features for usage and monitoring. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM Resource Discovery. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the region_name parameter. **You must set your provider block region as an operating_region.**
     * 
     */
    @Import(name="operatingRegions")
    private @Nullable Output> operatingRegions;

    /**
     * @return Determines which regions the Resource Discovery will enable IPAM features for usage and monitoring. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM Resource Discovery. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the region_name parameter. **You must set your provider block region as an operating_region.**
     * 
     */
    public Optional>> operatingRegions() {
        return Optional.ofNullable(this.operatingRegions);
    }

    /**
     * The account ID for the account that manages the Resource Discovery
     * 
     */
    @Import(name="ownerId")
    private @Nullable Output ownerId;

    /**
     * @return The account ID for the account that manages the Resource Discovery
     * 
     */
    public Optional> ownerId() {
        return Optional.ofNullable(this.ownerId);
    }

    /**
     * A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    private VpcIpamResourceDiscoveryState() {}

    private VpcIpamResourceDiscoveryState(VpcIpamResourceDiscoveryState $) {
        this.arn = $.arn;
        this.description = $.description;
        this.ipamResourceDiscoveryRegion = $.ipamResourceDiscoveryRegion;
        this.isDefault = $.isDefault;
        this.operatingRegions = $.operatingRegions;
        this.ownerId = $.ownerId;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
    }

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

    public static final class Builder {
        private VpcIpamResourceDiscoveryState $;

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

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

        /**
         * @param arn Amazon Resource Name (ARN) of IPAM Resource Discovery
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn Amazon Resource Name (ARN) of IPAM Resource Discovery
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param description A description for the IPAM Resource Discovery.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A description for the IPAM Resource Discovery.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param ipamResourceDiscoveryRegion The home region of the Resource Discovery
         * 
         * @return builder
         * 
         */
        public Builder ipamResourceDiscoveryRegion(@Nullable Output ipamResourceDiscoveryRegion) {
            $.ipamResourceDiscoveryRegion = ipamResourceDiscoveryRegion;
            return this;
        }

        /**
         * @param ipamResourceDiscoveryRegion The home region of the Resource Discovery
         * 
         * @return builder
         * 
         */
        public Builder ipamResourceDiscoveryRegion(String ipamResourceDiscoveryRegion) {
            return ipamResourceDiscoveryRegion(Output.of(ipamResourceDiscoveryRegion));
        }

        /**
         * @param isDefault A boolean to identify if the Resource Discovery is the accounts default resource discovery
         * 
         * @return builder
         * 
         */
        public Builder isDefault(@Nullable Output isDefault) {
            $.isDefault = isDefault;
            return this;
        }

        /**
         * @param isDefault A boolean to identify if the Resource Discovery is the accounts default resource discovery
         * 
         * @return builder
         * 
         */
        public Builder isDefault(Boolean isDefault) {
            return isDefault(Output.of(isDefault));
        }

        /**
         * @param operatingRegions Determines which regions the Resource Discovery will enable IPAM features for usage and monitoring. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM Resource Discovery. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the region_name parameter. **You must set your provider block region as an operating_region.**
         * 
         * @return builder
         * 
         */
        public Builder operatingRegions(@Nullable Output> operatingRegions) {
            $.operatingRegions = operatingRegions;
            return this;
        }

        /**
         * @param operatingRegions Determines which regions the Resource Discovery will enable IPAM features for usage and monitoring. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM Resource Discovery. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the region_name parameter. **You must set your provider block region as an operating_region.**
         * 
         * @return builder
         * 
         */
        public Builder operatingRegions(List operatingRegions) {
            return operatingRegions(Output.of(operatingRegions));
        }

        /**
         * @param operatingRegions Determines which regions the Resource Discovery will enable IPAM features for usage and monitoring. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM Resource Discovery. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the region_name parameter. **You must set your provider block region as an operating_region.**
         * 
         * @return builder
         * 
         */
        public Builder operatingRegions(VpcIpamResourceDiscoveryOperatingRegionArgs... operatingRegions) {
            return operatingRegions(List.of(operatingRegions));
        }

        /**
         * @param ownerId The account ID for the account that manages the Resource Discovery
         * 
         * @return builder
         * 
         */
        public Builder ownerId(@Nullable Output ownerId) {
            $.ownerId = ownerId;
            return this;
        }

        /**
         * @param ownerId The account ID for the account that manages the Resource Discovery
         * 
         * @return builder
         * 
         */
        public Builder ownerId(String ownerId) {
            return ownerId(Output.of(ownerId));
        }

        /**
         * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public VpcIpamResourceDiscoveryState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy