@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()
Indicates whether a publicly accessible IP address is created when launching the server.
|
static ServerLaunchConfiguration.Builder |
builder() |
S3Location |
configureScript()
Returns the value of the ConfigureScript property for this object.
|
ScriptType |
configureScriptType()
The type of configuration script.
|
String |
configureScriptTypeAsString()
The type of configuration script.
|
String |
ec2KeyName()
The name of the Amazon 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 |
iamInstanceProfileName()
The name of the IAM instance profile.
|
String |
instanceType()
The instance type to use when launching the server.
|
String |
logicalId()
The logical ID of the server in the AWS CloudFormation template.
|
List<SdkField<?>> |
sdkFields() |
String |
securityGroup()
The ID of the security group that applies to the launched server.
|
static Class<? extends ServerLaunchConfiguration.Builder> |
serializableBuilderClass() |
Server |
server()
The ID of the server with which the launch configuration is associated.
|
String |
subnet()
The ID 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()
The ID of the VPC into which the server should be launched.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Server server()
The ID of the server with which the launch configuration is associated.
public String logicalId()
The logical ID of the server in the AWS CloudFormation template.
public String vpc()
The ID of the VPC into which the server should be launched.
public String subnet()
The ID of the subnet the server should be launched into.
public String securityGroup()
The ID of the security group that applies to the launched server.
public String ec2KeyName()
The name of the Amazon 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()
The instance type to use when launching the server.
public Boolean associatePublicIpAddress()
Indicates whether a publicly accessible IP address is created when launching the server.
public String iamInstanceProfileName()
The name of the IAM instance profile.
public S3Location configureScript()
public ScriptType configureScriptType()
The type of configuration script.
If the service returns an enum value that is not available in the current SDK version,
configureScriptType will return ScriptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from configureScriptTypeAsString().
ScriptTypepublic String configureScriptTypeAsString()
The type of configuration script.
If the service returns an enum value that is not available in the current SDK version,
configureScriptType will return ScriptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from configureScriptTypeAsString().
ScriptTypepublic 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 © 2020. All rights reserved.