Package com.oracle.bmc.cloudbridge.model
Class AwsEc2Properties
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudbridge.model.AwsEc2Properties
-
@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 theAwsEc2Properties.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 theAwsEc2Properties.Builder
, which maintain a set of all explicitly set fields calledAwsEc2Properties.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AwsEc2Properties.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 instanceString
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.
-
-
-
Constructor Detail
-
AwsEc2Properties
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static AwsEc2Properties.Builder builder()
Create a new builder.
-
toBuilder
public AwsEc2Properties.Builder toBuilder()
-
getArchitecture
public String getArchitecture()
The architecture of the image.- Returns:
- the value
-
getBootMode
public String getBootMode()
The boot mode of the instance.- Returns:
- the value
-
getCapacityReservationKey
public String getCapacityReservationKey()
The ID of the Capacity Reservation.- Returns:
- the value
-
getAreElasticInferenceAcceleratorsPresent
public Boolean getAreElasticInferenceAcceleratorsPresent()
Indicates if the elastic inference accelerators attached to an instance- Returns:
- the value
-
getIsEnclaveOptions
public Boolean getIsEnclaveOptions()
Indicates whether the instance is enabled for AWS Nitro Enclaves.- Returns:
- the value
-
getIsHibernationOptions
public Boolean getIsHibernationOptions()
Indicates whether the instance is enabled for hibernation.- Returns:
- the value
-
getImageKey
public String getImageKey()
The ID of the AMI used to launch the instance.- Returns:
- the value
-
getInstanceKey
public String getInstanceKey()
The ID of the instance.- Returns:
- the value
-
getInstanceLifecycle
public String getInstanceLifecycle()
Indicates whether this is a Spot Instance or a Scheduled Instance.- Returns:
- the value
-
getInstanceType
public String getInstanceType()
The instance type.- Returns:
- the value
-
getIpAddress
public String getIpAddress()
The public IPv4 address, or the Carrier IP address assigned to the instance.- Returns:
- the value
-
getIpv6Address
public String getIpv6Address()
The IPv6 address assigned to the instance.- Returns:
- the value
-
getKernelKey
public String getKernelKey()
The kernel associated with this instance, if applicable.- Returns:
- the value
-
getTimeLaunch
public Date getTimeLaunch()
The time the instance was launched.- Returns:
- the value
-
getLicenses
public List<String> getLicenses()
The license configurations for the instance.- Returns:
- the value
-
getMaintenanceOptions
public String getMaintenanceOptions()
Provides information on the recovery and maintenance options of your instance.- Returns:
- the value
-
getMonitoring
public String getMonitoring()
The monitoring for the instance.- Returns:
- the value
-
getNetworkInterfaces
public List<InstanceNetworkInterface> getNetworkInterfaces()
The network interfaces for the instance.- Returns:
- the value
-
getPlacement
public Placement getPlacement()
-
getPrivateDnsName
public String getPrivateDnsName()
(IPv4 only) The private DNS hostname name assigned to the instance.- Returns:
- the value
-
getPrivateIpAddress
public String getPrivateIpAddress()
The private IPv4 address assigned to the instance.- Returns:
- the value
-
getRootDeviceName
public String getRootDeviceName()
The device name of the root device volume.- Returns:
- the value
-
getRootDeviceType
public String getRootDeviceType()
The root device type used by the AMI.The AMI can use an EBS volume or an instance store volume.
- Returns:
- the value
-
getSecurityGroups
public List<GroupIdentifier> getSecurityGroups()
The security groups for the instance.- Returns:
- the value
-
getIsSourceDestCheck
public Boolean getIsSourceDestCheck()
Indicates whether source/destination checking is enabled.- Returns:
- the value
-
getIsSpotInstance
public Boolean getIsSpotInstance()
If the request is a Spot Instance request, this value will be true.- Returns:
- the value
-
getSriovNetSupport
public String getSriovNetSupport()
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.- Returns:
- the value
-
getState
public InstanceState getState()
-
getSubnetKey
public String getSubnetKey()
EC2-VPC The ID of the subnet in which the instance is running.- Returns:
- the value
-
getTpmSupport
public String getTpmSupport()
If the instance is configured for NitroTPM support, the value is v2.0.- Returns:
- the value
-
getVirtualizationType
public String getVirtualizationType()
The virtualization type of the instance.- Returns:
- the value
-
getVpcKey
public String getVpcKey()
EC2-VPC The ID of the VPC in which the instance is running.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-