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

com.pulumi.azurenative.awsconnector.outputs.AwsEc2IpamPropertiesResponse Maven / Gradle / Ivy

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

import com.pulumi.azurenative.awsconnector.outputs.IpamOperatingRegionResponse;
import com.pulumi.azurenative.awsconnector.outputs.IpamStateEnumValueResponse;
import com.pulumi.azurenative.awsconnector.outputs.IpamTierEnumValueResponse;
import com.pulumi.azurenative.awsconnector.outputs.TagResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AwsEc2IpamPropertiesResponse {
    /**
     * @return <p>The IPAM's default resource discovery association ID.</p>
     * 
     */
    private @Nullable String defaultResourceDiscoveryAssociationId;
    /**
     * @return <p>The IPAM's default resource discovery ID.</p>
     * 
     */
    private @Nullable String defaultResourceDiscoveryId;
    /**
     * @return <p>The description for the IPAM.</p>
     * 
     */
    private @Nullable String description;
    /**
     * @return <p>The Amazon Resource Name (ARN) of the IPAM.</p>
     * 
     */
    private @Nullable String ipamArn;
    /**
     * @return <p>The ID of the IPAM.</p>
     * 
     */
    private @Nullable String ipamId;
    /**
     * @return <p>The Amazon Web Services Region of the IPAM.</p>
     * 
     */
    private @Nullable String ipamRegion;
    /**
     * @return <p>The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.</p> <p>For more information about operating Regions, see <a href='https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html'>Create an IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
     * 
     */
    private @Nullable List operatingRegions;
    /**
     * @return <p>The Amazon Web Services account ID of the owner of the IPAM.</p>
     * 
     */
    private @Nullable String ownerId;
    /**
     * @return <p>The ID of the IPAM's default private scope.</p>
     * 
     */
    private @Nullable String privateDefaultScopeId;
    /**
     * @return <p>The ID of the IPAM's default public scope.</p>
     * 
     */
    private @Nullable String publicDefaultScopeId;
    /**
     * @return <p>The IPAM's resource discovery association count.</p>
     * 
     */
    private @Nullable Integer resourceDiscoveryAssociationCount;
    /**
     * @return <p>The number of scopes in the IPAM. The scope quota is 5. For more information on quotas, see <a href='https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html'>Quotas in IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>. </p>
     * 
     */
    private @Nullable Integer scopeCount;
    /**
     * @return <p>The state of the IPAM.</p>
     * 
     */
    private @Nullable IpamStateEnumValueResponse state;
    /**
     * @return <p>The state message.</p>
     * 
     */
    private @Nullable String stateMessage;
    /**
     * @return <p>The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
     * 
     */
    private @Nullable List tags;
    /**
     * @return <p>IPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see <a href='http://aws.amazon.com/vpc/pricing/'>Amazon VPC pricing &gt; IPAM tab</a>.</p>
     * 
     */
    private @Nullable IpamTierEnumValueResponse tier;

    private AwsEc2IpamPropertiesResponse() {}
    /**
     * @return <p>The IPAM's default resource discovery association ID.</p>
     * 
     */
    public Optional defaultResourceDiscoveryAssociationId() {
        return Optional.ofNullable(this.defaultResourceDiscoveryAssociationId);
    }
    /**
     * @return <p>The IPAM's default resource discovery ID.</p>
     * 
     */
    public Optional defaultResourceDiscoveryId() {
        return Optional.ofNullable(this.defaultResourceDiscoveryId);
    }
    /**
     * @return <p>The description for the IPAM.</p>
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return <p>The Amazon Resource Name (ARN) of the IPAM.</p>
     * 
     */
    public Optional ipamArn() {
        return Optional.ofNullable(this.ipamArn);
    }
    /**
     * @return <p>The ID of the IPAM.</p>
     * 
     */
    public Optional ipamId() {
        return Optional.ofNullable(this.ipamId);
    }
    /**
     * @return <p>The Amazon Web Services Region of the IPAM.</p>
     * 
     */
    public Optional ipamRegion() {
        return Optional.ofNullable(this.ipamRegion);
    }
    /**
     * @return <p>The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.</p> <p>For more information about operating Regions, see <a href='https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html'>Create an IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
     * 
     */
    public List operatingRegions() {
        return this.operatingRegions == null ? List.of() : this.operatingRegions;
    }
    /**
     * @return <p>The Amazon Web Services account ID of the owner of the IPAM.</p>
     * 
     */
    public Optional ownerId() {
        return Optional.ofNullable(this.ownerId);
    }
    /**
     * @return <p>The ID of the IPAM's default private scope.</p>
     * 
     */
    public Optional privateDefaultScopeId() {
        return Optional.ofNullable(this.privateDefaultScopeId);
    }
    /**
     * @return <p>The ID of the IPAM's default public scope.</p>
     * 
     */
    public Optional publicDefaultScopeId() {
        return Optional.ofNullable(this.publicDefaultScopeId);
    }
    /**
     * @return <p>The IPAM's resource discovery association count.</p>
     * 
     */
    public Optional resourceDiscoveryAssociationCount() {
        return Optional.ofNullable(this.resourceDiscoveryAssociationCount);
    }
    /**
     * @return <p>The number of scopes in the IPAM. The scope quota is 5. For more information on quotas, see <a href='https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html'>Quotas in IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>. </p>
     * 
     */
    public Optional scopeCount() {
        return Optional.ofNullable(this.scopeCount);
    }
    /**
     * @return <p>The state of the IPAM.</p>
     * 
     */
    public Optional state() {
        return Optional.ofNullable(this.state);
    }
    /**
     * @return <p>The state message.</p>
     * 
     */
    public Optional stateMessage() {
        return Optional.ofNullable(this.stateMessage);
    }
    /**
     * @return <p>The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
     * 
     */
    public List tags() {
        return this.tags == null ? List.of() : this.tags;
    }
    /**
     * @return <p>IPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see <a href='http://aws.amazon.com/vpc/pricing/'>Amazon VPC pricing &gt; IPAM tab</a>.</p>
     * 
     */
    public Optional tier() {
        return Optional.ofNullable(this.tier);
    }

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

    public static Builder builder(AwsEc2IpamPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String defaultResourceDiscoveryAssociationId;
        private @Nullable String defaultResourceDiscoveryId;
        private @Nullable String description;
        private @Nullable String ipamArn;
        private @Nullable String ipamId;
        private @Nullable String ipamRegion;
        private @Nullable List operatingRegions;
        private @Nullable String ownerId;
        private @Nullable String privateDefaultScopeId;
        private @Nullable String publicDefaultScopeId;
        private @Nullable Integer resourceDiscoveryAssociationCount;
        private @Nullable Integer scopeCount;
        private @Nullable IpamStateEnumValueResponse state;
        private @Nullable String stateMessage;
        private @Nullable List tags;
        private @Nullable IpamTierEnumValueResponse tier;
        public Builder() {}
        public Builder(AwsEc2IpamPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.defaultResourceDiscoveryAssociationId = defaults.defaultResourceDiscoveryAssociationId;
    	      this.defaultResourceDiscoveryId = defaults.defaultResourceDiscoveryId;
    	      this.description = defaults.description;
    	      this.ipamArn = defaults.ipamArn;
    	      this.ipamId = defaults.ipamId;
    	      this.ipamRegion = defaults.ipamRegion;
    	      this.operatingRegions = defaults.operatingRegions;
    	      this.ownerId = defaults.ownerId;
    	      this.privateDefaultScopeId = defaults.privateDefaultScopeId;
    	      this.publicDefaultScopeId = defaults.publicDefaultScopeId;
    	      this.resourceDiscoveryAssociationCount = defaults.resourceDiscoveryAssociationCount;
    	      this.scopeCount = defaults.scopeCount;
    	      this.state = defaults.state;
    	      this.stateMessage = defaults.stateMessage;
    	      this.tags = defaults.tags;
    	      this.tier = defaults.tier;
        }

        @CustomType.Setter
        public Builder defaultResourceDiscoveryAssociationId(@Nullable String defaultResourceDiscoveryAssociationId) {

            this.defaultResourceDiscoveryAssociationId = defaultResourceDiscoveryAssociationId;
            return this;
        }
        @CustomType.Setter
        public Builder defaultResourceDiscoveryId(@Nullable String defaultResourceDiscoveryId) {

            this.defaultResourceDiscoveryId = defaultResourceDiscoveryId;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder ipamArn(@Nullable String ipamArn) {

            this.ipamArn = ipamArn;
            return this;
        }
        @CustomType.Setter
        public Builder ipamId(@Nullable String ipamId) {

            this.ipamId = ipamId;
            return this;
        }
        @CustomType.Setter
        public Builder ipamRegion(@Nullable String ipamRegion) {

            this.ipamRegion = ipamRegion;
            return this;
        }
        @CustomType.Setter
        public Builder operatingRegions(@Nullable List operatingRegions) {

            this.operatingRegions = operatingRegions;
            return this;
        }
        public Builder operatingRegions(IpamOperatingRegionResponse... operatingRegions) {
            return operatingRegions(List.of(operatingRegions));
        }
        @CustomType.Setter
        public Builder ownerId(@Nullable String ownerId) {

            this.ownerId = ownerId;
            return this;
        }
        @CustomType.Setter
        public Builder privateDefaultScopeId(@Nullable String privateDefaultScopeId) {

            this.privateDefaultScopeId = privateDefaultScopeId;
            return this;
        }
        @CustomType.Setter
        public Builder publicDefaultScopeId(@Nullable String publicDefaultScopeId) {

            this.publicDefaultScopeId = publicDefaultScopeId;
            return this;
        }
        @CustomType.Setter
        public Builder resourceDiscoveryAssociationCount(@Nullable Integer resourceDiscoveryAssociationCount) {

            this.resourceDiscoveryAssociationCount = resourceDiscoveryAssociationCount;
            return this;
        }
        @CustomType.Setter
        public Builder scopeCount(@Nullable Integer scopeCount) {

            this.scopeCount = scopeCount;
            return this;
        }
        @CustomType.Setter
        public Builder state(@Nullable IpamStateEnumValueResponse state) {

            this.state = state;
            return this;
        }
        @CustomType.Setter
        public Builder stateMessage(@Nullable String stateMessage) {

            this.stateMessage = stateMessage;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable List tags) {

            this.tags = tags;
            return this;
        }
        public Builder tags(TagResponse... tags) {
            return tags(List.of(tags));
        }
        @CustomType.Setter
        public Builder tier(@Nullable IpamTierEnumValueResponse tier) {

            this.tier = tier;
            return this;
        }
        public AwsEc2IpamPropertiesResponse build() {
            final var _resultValue = new AwsEc2IpamPropertiesResponse();
            _resultValue.defaultResourceDiscoveryAssociationId = defaultResourceDiscoveryAssociationId;
            _resultValue.defaultResourceDiscoveryId = defaultResourceDiscoveryId;
            _resultValue.description = description;
            _resultValue.ipamArn = ipamArn;
            _resultValue.ipamId = ipamId;
            _resultValue.ipamRegion = ipamRegion;
            _resultValue.operatingRegions = operatingRegions;
            _resultValue.ownerId = ownerId;
            _resultValue.privateDefaultScopeId = privateDefaultScopeId;
            _resultValue.publicDefaultScopeId = publicDefaultScopeId;
            _resultValue.resourceDiscoveryAssociationCount = resourceDiscoveryAssociationCount;
            _resultValue.scopeCount = scopeCount;
            _resultValue.state = state;
            _resultValue.stateMessage = stateMessage;
            _resultValue.tags = tags;
            _resultValue.tier = tier;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy