com.pulumi.spotinst.aws.inputs.ElastigroupIntegrationEcsAutoscaleAttributeArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class ElastigroupIntegrationEcsAutoscaleAttributeArgs extends com.pulumi.resources.ResourceArgs {
public static final ElastigroupIntegrationEcsAutoscaleAttributeArgs Empty = new ElastigroupIntegrationEcsAutoscaleAttributeArgs();
@Import(name="key", required=true)
private Output key;
public Output key() {
return this.key;
}
@Import(name="value", required=true)
private Output value;
public Output value() {
return this.value;
}
private ElastigroupIntegrationEcsAutoscaleAttributeArgs() {}
private ElastigroupIntegrationEcsAutoscaleAttributeArgs(ElastigroupIntegrationEcsAutoscaleAttributeArgs $) {
this.key = $.key;
this.value = $.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ElastigroupIntegrationEcsAutoscaleAttributeArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ElastigroupIntegrationEcsAutoscaleAttributeArgs $;
public Builder() {
$ = new ElastigroupIntegrationEcsAutoscaleAttributeArgs();
}
public Builder(ElastigroupIntegrationEcsAutoscaleAttributeArgs defaults) {
$ = new ElastigroupIntegrationEcsAutoscaleAttributeArgs(Objects.requireNonNull(defaults));
}
public Builder key(Output key) {
$.key = key;
return this;
}
public Builder key(String key) {
return key(Output.of(key));
}
public Builder value(Output value) {
$.value = value;
return this;
}
public Builder value(String value) {
return value(Output.of(value));
}
public ElastigroupIntegrationEcsAutoscaleAttributeArgs build() {
if ($.key == null) {
throw new MissingRequiredPropertyException("ElastigroupIntegrationEcsAutoscaleAttributeArgs", "key");
}
if ($.value == null) {
throw new MissingRequiredPropertyException("ElastigroupIntegrationEcsAutoscaleAttributeArgs", "value");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy