com.pulumi.spotinst.aws.outputs.OceanLaunchSpecElasticIpPool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotinst Show documentation
Show all versions of spotinst Show documentation
A Pulumi package for creating and managing spotinst 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.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