Class ServerLaunchConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServerLaunchConfiguration.Builder,ServerLaunchConfiguration>
Launch configuration for a server.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanIndicates whether a publicly accessible IP address is created when launching the server.builder()final S3LocationReturns the value of the ConfigureScript property for this object.final ScriptTypeThe type of configuration script.final StringThe type of configuration script.final StringThe name of the Amazon EC2 SSH key to be used for connecting to the launched server.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe name of the IAM instance profile.final StringThe instance type to use when launching the server.final StringThe logical ID of the server in the CloudFormation template.final StringThe ID of the security group that applies to the launched server.static Class<? extends ServerLaunchConfiguration.Builder> final Serverserver()The ID of the server with which the launch configuration is associated.final Stringsubnet()The ID of the subnet the server should be launched into.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final UserDatauserData()Location of the user-data script to be executed when launching the server.final Stringvpc()The ID of the VPC into which the server should be launched.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
server
The ID of the server with which the launch configuration is associated.
- Returns:
- The ID of the server with which the launch configuration is associated.
-
logicalId
The logical ID of the server in the CloudFormation template.
- Returns:
- The logical ID of the server in the CloudFormation template.
-
vpc
The ID of the VPC into which the server should be launched.
- Returns:
- The ID of the VPC into which the server should be launched.
-
subnet
The ID of the subnet the server should be launched into.
- Returns:
- The ID of the subnet the server should be launched into.
-
securityGroup
The ID of the security group that applies to the launched server.
- Returns:
- The ID of the security group that applies to the launched server.
-
ec2KeyName
The name of the Amazon EC2 SSH key to be used for connecting to the launched server.
- Returns:
- The name of the Amazon EC2 SSH key to be used for connecting to the launched server.
-
userData
Location of the user-data script to be executed when launching the server.
- Returns:
- Location of the user-data script to be executed when launching the server.
-
instanceType
The instance type to use when launching the server.
- Returns:
- The instance type to use when launching the server.
-
associatePublicIpAddress
Indicates whether a publicly accessible IP address is created when launching the server.
- Returns:
- Indicates whether a publicly accessible IP address is created when launching the server.
-
iamInstanceProfileName
The name of the IAM instance profile.
- Returns:
- The name of the IAM instance profile.
-
configureScript
Returns the value of the ConfigureScript property for this object.- Returns:
- The value of the ConfigureScript property for this object.
-
configureScriptType
The type of configuration script.
If the service returns an enum value that is not available in the current SDK version,
configureScriptTypewill returnScriptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigureScriptTypeAsString().- Returns:
- The type of configuration script.
- See Also:
-
configureScriptTypeAsString
The type of configuration script.
If the service returns an enum value that is not available in the current SDK version,
configureScriptTypewill returnScriptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigureScriptTypeAsString().- Returns:
- The type of configuration script.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ServerLaunchConfiguration.Builder,ServerLaunchConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-