
com.pulumi.aws.gamelift.outputs.GameServerGroupLaunchTemplate 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.
// *** 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.gamelift.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GameServerGroupLaunchTemplate {
/**
* @return A unique identifier for an existing EC2 launch template.
*
*/
private @Nullable String id;
/**
* @return A readable identifier for an existing EC2 launch template.
*
*/
private @Nullable String name;
/**
* @return The version of the EC2 launch template to use. If none is set, the default is the first version created.
*
*/
private @Nullable String version;
private GameServerGroupLaunchTemplate() {}
/**
* @return A unique identifier for an existing EC2 launch template.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return A readable identifier for an existing EC2 launch template.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return The version of the EC2 launch template to use. If none is set, the default is the first version created.
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GameServerGroupLaunchTemplate defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private @Nullable String name;
private @Nullable String version;
public Builder() {}
public Builder(GameServerGroupLaunchTemplate defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.name = defaults.name;
this.version = defaults.version;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public GameServerGroupLaunchTemplate build() {
final var _resultValue = new GameServerGroupLaunchTemplate();
_resultValue.id = id;
_resultValue.name = name;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy