com.pulumi.aws.ec2.inputs.SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs extends com.pulumi.resources.ResourceArgs {
public static final SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs Empty = new SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs();
@Import(name="deviceName", required=true)
private Output deviceName;
public Output deviceName() {
return this.deviceName;
}
@Import(name="virtualName", required=true)
private Output virtualName;
public Output virtualName() {
return this.virtualName;
}
private SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs() {}
private SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs(SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs $) {
this.deviceName = $.deviceName;
this.virtualName = $.virtualName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs $;
public Builder() {
$ = new SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs();
}
public Builder(SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs defaults) {
$ = new SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs(Objects.requireNonNull(defaults));
}
public Builder deviceName(Output deviceName) {
$.deviceName = deviceName;
return this;
}
public Builder deviceName(String deviceName) {
return deviceName(Output.of(deviceName));
}
public Builder virtualName(Output virtualName) {
$.virtualName = virtualName;
return this;
}
public Builder virtualName(String virtualName) {
return virtualName(Output.of(virtualName));
}
public SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs build() {
if ($.deviceName == null) {
throw new MissingRequiredPropertyException("SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs", "deviceName");
}
if ($.virtualName == null) {
throw new MissingRequiredPropertyException("SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs", "virtualName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy