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

com.pulumi.spotinst.aws.outputs.OceanLaunchSpecElasticIpPool Maven / Gradle / Ivy

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.spotinst.aws.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.spotinst.aws.outputs.OceanLaunchSpecElasticIpPoolTagSelector;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class OceanLaunchSpecElasticIpPool {
    /**
     * @return A key-value pair, which defines an Elastic IP from the customer pool. Can be null.
     * 
     */
    private @Nullable OceanLaunchSpecElasticIpPoolTagSelector tagSelector;

    private OceanLaunchSpecElasticIpPool() {}
    /**
     * @return A key-value pair, which defines an Elastic IP from the customer pool. Can be null.
     * 
     */
    public Optional tagSelector() {
        return Optional.ofNullable(this.tagSelector);
    }

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

    public static Builder builder(OceanLaunchSpecElasticIpPool defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable OceanLaunchSpecElasticIpPoolTagSelector tagSelector;
        public Builder() {}
        public Builder(OceanLaunchSpecElasticIpPool defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.tagSelector = defaults.tagSelector;
        }

        @CustomType.Setter
        public Builder tagSelector(@Nullable OceanLaunchSpecElasticIpPoolTagSelector tagSelector) {

            this.tagSelector = tagSelector;
            return this;
        }
        public OceanLaunchSpecElasticIpPool build() {
            final var _resultValue = new OceanLaunchSpecElasticIpPool();
            _resultValue.tagSelector = tagSelector;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy