@Generated(value="software.amazon.awssdk:codegen") public final class ServerLaunchConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerLaunchConfiguration.Builder,ServerLaunchConfiguration>
Launch configuration for a server.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServerLaunchConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
associatePublicIpAddress()
If true, a publicly accessible IP address is created when launching the server.
|
static ServerLaunchConfiguration.Builder |
builder() |
String |
ec2KeyName()
Name of the EC2 SSH Key to be used for connecting to the launched server.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceType()
Instance type to be used for launching the server.
|
String |
logicalId()
Logical ID of the server in the Amazon CloudFormation template.
|
List<SdkField<?>> |
sdkFields() |
String |
securityGroup()
Identifier of the security group that applies to the launched server.
|
static Class<? extends ServerLaunchConfiguration.Builder> |
serializableBuilderClass() |
Server |
server()
Identifier of the server the launch configuration is associated with.
|
String |
subnet()
Identifier of the subnet the server should be launched into.
|
ServerLaunchConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UserData |
userData()
Location of the user-data script to be executed when launching the server.
|
String |
vpc()
Identifier of the VPC the server should be launched into.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Server server()
Identifier of the server the launch configuration is associated with.
public String logicalId()
Logical ID of the server in the Amazon CloudFormation template.
public String vpc()
Identifier of the VPC the server should be launched into.
public String subnet()
Identifier of the subnet the server should be launched into.
public String securityGroup()
Identifier of the security group that applies to the launched server.
public String ec2KeyName()
Name of the EC2 SSH Key to be used for connecting to the launched server.
public UserData userData()
Location of the user-data script to be executed when launching the server.
public String instanceType()
Instance type to be used for launching the server.
public Boolean associatePublicIpAddress()
If true, a publicly accessible IP address is created when launching the server.
public ServerLaunchConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServerLaunchConfiguration.Builder,ServerLaunchConfiguration>public static ServerLaunchConfiguration.Builder builder()
public static Class<? extends ServerLaunchConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.