@Generated(value="OracleSDKGenerator", comments="API Version: 20220509") public final class AwsEc2Properties extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
AWS virtual machine related properties.
Note: Objects should always be created or deserialized using the AwsEc2Properties.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the AwsEc2Properties.Builder
, which maintain a
set of all explicitly set fields called AwsEc2Properties.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AwsEc2Properties.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AwsEc2Properties(String architecture,
String bootMode,
String capacityReservationKey,
Boolean areElasticInferenceAcceleratorsPresent,
Boolean isEnclaveOptions,
Boolean isHibernationOptions,
String imageKey,
String instanceKey,
String instanceLifecycle,
String instanceType,
String ipAddress,
String ipv6Address,
String kernelKey,
Date timeLaunch,
List<String> licenses,
String maintenanceOptions,
String monitoring,
List<InstanceNetworkInterface> networkInterfaces,
Placement placement,
String privateDnsName,
String privateIpAddress,
String rootDeviceName,
String rootDeviceType,
List<GroupIdentifier> securityGroups,
Boolean isSourceDestCheck,
Boolean isSpotInstance,
String sriovNetSupport,
InstanceState state,
String subnetKey,
List<Tag> tags,
String tpmSupport,
String virtualizationType,
String vpcKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AwsEc2Properties.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getArchitecture()
The architecture of the image.
|
Boolean |
getAreElasticInferenceAcceleratorsPresent()
Indicates if the elastic inference accelerators attached to an instance
|
String |
getBootMode()
The boot mode of the instance.
|
String |
getCapacityReservationKey()
The ID of the Capacity Reservation.
|
String |
getImageKey()
The ID of the AMI used to launch the instance.
|
String |
getInstanceKey()
The ID of the instance.
|
String |
getInstanceLifecycle()
Indicates whether this is a Spot Instance or a Scheduled Instance.
|
String |
getInstanceType()
The instance type.
|
String |
getIpAddress()
The public IPv4 address, or the Carrier IP address assigned to the instance.
|
String |
getIpv6Address()
The IPv6 address assigned to the instance.
|
Boolean |
getIsEnclaveOptions()
Indicates whether the instance is enabled for AWS Nitro Enclaves.
|
Boolean |
getIsHibernationOptions()
Indicates whether the instance is enabled for hibernation.
|
Boolean |
getIsSourceDestCheck()
Indicates whether source/destination checking is enabled.
|
Boolean |
getIsSpotInstance()
If the request is a Spot Instance request, this value will be true.
|
String |
getKernelKey()
The kernel associated with this instance, if applicable.
|
List<String> |
getLicenses()
The license configurations for the instance.
|
String |
getMaintenanceOptions()
Provides information on the recovery and maintenance options of your instance.
|
String |
getMonitoring()
The monitoring for the instance.
|
List<InstanceNetworkInterface> |
getNetworkInterfaces()
The network interfaces for the instance.
|
Placement |
getPlacement() |
String |
getPrivateDnsName()
(IPv4 only) The private DNS hostname name assigned to the instance.
|
String |
getPrivateIpAddress()
The private IPv4 address assigned to the instance.
|
String |
getRootDeviceName()
The device name of the root device volume.
|
String |
getRootDeviceType()
The root device type used by the AMI.
|
List<GroupIdentifier> |
getSecurityGroups()
The security groups for the instance.
|
String |
getSriovNetSupport()
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is
enabled.
|
InstanceState |
getState() |
String |
getSubnetKey()
EC2-VPC The ID of the subnet in which the instance is running.
|
List<Tag> |
getTags()
Any tags assigned to the instance.
|
Date |
getTimeLaunch()
The time the instance was launched.
|
String |
getTpmSupport()
If the instance is configured for NitroTPM support, the value is v2.0.
|
String |
getVirtualizationType()
The virtualization type of the instance.
|
String |
getVpcKey()
EC2-VPC The ID of the VPC in which the instance is running.
|
int |
hashCode() |
AwsEc2Properties.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"architecture","bootMode","capacityReservationKey","areElasticInferenceAcceleratorsPresent","isEnclaveOptions","isHibernationOptions","imageKey","instanceKey","instanceLifecycle","instanceType","ipAddress","ipv6Address","kernelKey","timeLaunch","licenses","maintenanceOptions","monitoring","networkInterfaces","placement","privateDnsName","privateIpAddress","rootDeviceName","rootDeviceType","securityGroups","isSourceDestCheck","isSpotInstance","sriovNetSupport","state","subnetKey","tags","tpmSupport","virtualizationType","vpcKey"}) public AwsEc2Properties(String architecture, String bootMode, String capacityReservationKey, Boolean areElasticInferenceAcceleratorsPresent, Boolean isEnclaveOptions, Boolean isHibernationOptions, String imageKey, String instanceKey, String instanceLifecycle, String instanceType, String ipAddress, String ipv6Address, String kernelKey, Date timeLaunch, List<String> licenses, String maintenanceOptions, String monitoring, List<InstanceNetworkInterface> networkInterfaces, Placement placement, String privateDnsName, String privateIpAddress, String rootDeviceName, String rootDeviceType, List<GroupIdentifier> securityGroups, Boolean isSourceDestCheck, Boolean isSpotInstance, String sriovNetSupport, InstanceState state, String subnetKey, List<Tag> tags, String tpmSupport, String virtualizationType, String vpcKey)
public static AwsEc2Properties.Builder builder()
Create a new builder.
public AwsEc2Properties.Builder toBuilder()
public String getArchitecture()
The architecture of the image.
public String getBootMode()
The boot mode of the instance.
public String getCapacityReservationKey()
The ID of the Capacity Reservation.
public Boolean getAreElasticInferenceAcceleratorsPresent()
Indicates if the elastic inference accelerators attached to an instance
public Boolean getIsEnclaveOptions()
Indicates whether the instance is enabled for AWS Nitro Enclaves.
public Boolean getIsHibernationOptions()
Indicates whether the instance is enabled for hibernation.
public String getImageKey()
The ID of the AMI used to launch the instance.
public String getInstanceKey()
The ID of the instance.
public String getInstanceLifecycle()
Indicates whether this is a Spot Instance or a Scheduled Instance.
public String getInstanceType()
The instance type.
public String getIpAddress()
The public IPv4 address, or the Carrier IP address assigned to the instance.
public String getIpv6Address()
The IPv6 address assigned to the instance.
public String getKernelKey()
The kernel associated with this instance, if applicable.
public Date getTimeLaunch()
The time the instance was launched.
public List<String> getLicenses()
The license configurations for the instance.
public String getMaintenanceOptions()
Provides information on the recovery and maintenance options of your instance.
public String getMonitoring()
The monitoring for the instance.
public List<InstanceNetworkInterface> getNetworkInterfaces()
The network interfaces for the instance.
public Placement getPlacement()
public String getPrivateDnsName()
(IPv4 only) The private DNS hostname name assigned to the instance.
public String getPrivateIpAddress()
The private IPv4 address assigned to the instance.
public String getRootDeviceName()
The device name of the root device volume.
public String getRootDeviceType()
The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
public List<GroupIdentifier> getSecurityGroups()
The security groups for the instance.
public Boolean getIsSourceDestCheck()
Indicates whether source/destination checking is enabled.
public Boolean getIsSpotInstance()
If the request is a Spot Instance request, this value will be true.
public String getSriovNetSupport()
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
public InstanceState getState()
public String getSubnetKey()
EC2-VPC The ID of the subnet in which the instance is running.
public String getTpmSupport()
If the instance is configured for NitroTPM support, the value is v2.0.
public String getVirtualizationType()
The virtualization type of the instance.
public String getVpcKey()
EC2-VPC The ID of the VPC in which the instance is running.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.