@Generated(value="software.amazon.awssdk:codegen") public final class ImportInstanceLaunchSpecification extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<String> |
groupIds()
One or more security group IDs.
|
List<String> |
groupNames()
One or more 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.
|
static Class<? extends ImportInstanceLaunchSpecification.Builder> |
serializableBuilderClass() |
String |
subnetId()
[EC2-VPC] The ID of the subnet in which to launch the instance.
|
ImportInstanceLaunchSpecification.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
UserData |
userData()
The user data to make available to the instance.
|
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()
One or more security group IDs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> groupNames()
One or more 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 user data to make available to the instance. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.
public ImportInstanceLaunchSpecification.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>
public static ImportInstanceLaunchSpecification.Builder builder()
public static Class<? extends ImportInstanceLaunchSpecification.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.