com.pulumi.aws.ec2.inputs.GetLaunchConfigurationArgs Maven / Gradle / Ivy
// *** 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 GetLaunchConfigurationArgs extends com.pulumi.resources.InvokeArgs {
public static final GetLaunchConfigurationArgs Empty = new GetLaunchConfigurationArgs();
/**
* Name of the launch configuration.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return Name of the launch configuration.
*
*/
public Output name() {
return this.name;
}
private GetLaunchConfigurationArgs() {}
private GetLaunchConfigurationArgs(GetLaunchConfigurationArgs $) {
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLaunchConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetLaunchConfigurationArgs $;
public Builder() {
$ = new GetLaunchConfigurationArgs();
}
public Builder(GetLaunchConfigurationArgs defaults) {
$ = new GetLaunchConfigurationArgs(Objects.requireNonNull(defaults));
}
/**
* @param name Name of the launch configuration.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name Name of the launch configuration.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
public GetLaunchConfigurationArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("GetLaunchConfigurationArgs", "name");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy