@Generated(value="software.amazon.awssdk:codegen") public final class ImportInstanceLaunchSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>
Describes the launch specification for VM import.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImportInstanceLaunchSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
additionalInfo()
Reserved.
|
ArchitectureValues |
architecture()
The architecture of the instance.
|
String |
architectureAsString()
The architecture of the instance.
|
static ImportInstanceLaunchSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<String> |
groupIds()
The security group IDs.
|
List<String> |
groupNames()
The security group names.
|
boolean |
hasGroupIds()
Returns true if the GroupIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasGroupNames()
Returns true if the GroupNames property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
ShutdownBehavior |
instanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
String |
instanceInitiatedShutdownBehaviorAsString()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
InstanceType |
instanceType()
The instance type.
|
String |
instanceTypeAsString()
The instance type.
|
Boolean |
monitoring()
Indicates whether monitoring is enabled.
|
Placement |
placement()
The placement information for the instance.
|
String |
privateIpAddress()
[EC2-VPC] An available IP address from the IP address range of the subnet.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImportInstanceLaunchSpecification.Builder> |
serializableBuilderClass() |
String |
subnetId()
[EC2-VPC] The ID of the subnet in which to launch the instance.
|
ImportInstanceLaunchSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UserData |
userData()
The Base64-encoded user data to make available to the instance.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String additionalInfo()
Reserved.
public final ArchitectureValues architecture()
The architecture of the instance.
If the service returns an enum value that is not available in the current SDK version, architecture will
return ArchitectureValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
architectureAsString().
ArchitectureValuespublic final String architectureAsString()
The architecture of the instance.
If the service returns an enum value that is not available in the current SDK version, architecture will
return ArchitectureValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
architectureAsString().
ArchitectureValuespublic final boolean hasGroupIds()
public final List<String> groupIds()
The security group IDs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroupIds() to see if a value was sent in this field.
public final boolean hasGroupNames()
public final List<String> groupNames()
The security group names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroupNames() to see if a value was sent in this field.
public final ShutdownBehavior instanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
If the service returns an enum value that is not available in the current SDK version,
instanceInitiatedShutdownBehavior will return ShutdownBehavior.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from instanceInitiatedShutdownBehaviorAsString().
ShutdownBehaviorpublic final String instanceInitiatedShutdownBehaviorAsString()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
If the service returns an enum value that is not available in the current SDK version,
instanceInitiatedShutdownBehavior will return ShutdownBehavior.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from instanceInitiatedShutdownBehaviorAsString().
ShutdownBehaviorpublic final InstanceType instanceType()
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic final String instanceTypeAsString()
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic final Boolean monitoring()
Indicates whether monitoring is enabled.
public final Placement placement()
The placement information for the instance.
public final String privateIpAddress()
[EC2-VPC] An available IP address from the IP address range of the subnet.
public final String subnetId()
[EC2-VPC] The ID of the subnet in which to launch the instance.
public final UserData userData()
The Base64-encoded user data to make available to the instance.
public ImportInstanceLaunchSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>public static ImportInstanceLaunchSpecification.Builder builder()
public static Class<? extends ImportInstanceLaunchSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.