@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.
|
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, wait
copy
public String additionalInfo()
Reserved.
public 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()
.
ArchitectureValues
public 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()
.
ArchitectureValues
public List<String> groupIds()
The security group IDs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> groupNames()
The security group names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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()
.
ShutdownBehavior
public 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()
.
ShutdownBehavior
public 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()
.
InstanceType
public 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()
.
InstanceType
public Boolean monitoring()
Indicates whether monitoring is enabled.
public Placement placement()
The placement information for the instance.
public String privateIpAddress()
[EC2-VPC] An available IP address from the IP address range of the subnet.
public String subnetId()
[EC2-VPC] The ID of the subnet in which to launch the instance.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.