@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 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 final Server server()
The ID of the server with which the launch configuration is associated.
public final String logicalId()
The logical ID of the server in the CloudFormation template.
public final String vpc()
The ID of the VPC into which the server should be launched.
public final String subnet()
The ID of the subnet the server should be launched into.
public final String securityGroup()
The ID of the security group that applies to the launched server.
public final String ec2KeyName()
The name of the Amazon EC2 SSH key to be used for connecting to the launched server.
public final UserData userData()
Location of the user-data script to be executed when launching the server.
public final String instanceType()
The instance type to use when launching the server.
public final Boolean associatePublicIpAddress()
Indicates whether a publicly accessible IP address is created when launching the server.
public final String iamInstanceProfileName()
The name of the IAM instance profile.
public final S3Location configureScript()
public final 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 final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.