me.tomsdevsn.hetznercloud.objects.request.RequestServer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hetznercloud-java_2.12 Show documentation
Show all versions of hetznercloud-java_2.12 Show documentation
Java Integration to manage the Hetzner-Cloud
The newest version!
package me.tomsdevsn.hetznercloud.objects.request;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import java.util.List;
@Data
@Builder
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RequestServer {
private String name;
@JsonProperty("server_type")
private String serverType;
private String datacenter;
private String location;
private String image;
@JsonProperty("start_after_create")
private boolean startAfterCreate;
@JsonProperty("ssh_keys")
private List sshKeys;
@JsonProperty("user_data")
private String userData;
}