@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ServerLaunchConfiguration.Builder,ServerLaunchConfiguration>
public static ServerLaunchConfiguration.Builder builder()
public static Class<? extends ServerLaunchConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.