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.ExplicitlySetBmcModelAWS 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 classAwsEc2Properties.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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetArchitecture()The architecture of the image.BooleangetAreElasticInferenceAcceleratorsPresent()Indicates if the elastic inference accelerators attached to an instanceStringgetBootMode()The boot mode of the instance.StringgetCapacityReservationKey()The ID of the Capacity Reservation.StringgetImageKey()The ID of the AMI used to launch the instance.StringgetInstanceKey()The ID of the instance.StringgetInstanceLifecycle()Indicates whether this is a Spot Instance or a Scheduled Instance.StringgetInstanceType()The instance type.StringgetIpAddress()The public IPv4 address, or the Carrier IP address assigned to the instance.StringgetIpv6Address()The IPv6 address assigned to the instance.BooleangetIsEnclaveOptions()Indicates whether the instance is enabled for AWS Nitro Enclaves.BooleangetIsHibernationOptions()Indicates whether the instance is enabled for hibernation.BooleangetIsSourceDestCheck()Indicates whether source/destination checking is enabled.BooleangetIsSpotInstance()If the request is a Spot Instance request, this value will be true.StringgetKernelKey()The kernel associated with this instance, if applicable.List<String>getLicenses()The license configurations for the instance.StringgetMaintenanceOptions()Provides information on the recovery and maintenance options of your instance.StringgetMonitoring()The monitoring for the instance.List<InstanceNetworkInterface>getNetworkInterfaces()The network interfaces for the instance.PlacementgetPlacement()StringgetPrivateDnsName()(IPv4 only) The private DNS hostname name assigned to the instance.StringgetPrivateIpAddress()The private IPv4 address assigned to the instance.StringgetRootDeviceName()The device name of the root device volume.StringgetRootDeviceType()The root device type used by the AMI.List<GroupIdentifier>getSecurityGroups()The security groups for the instance.StringgetSriovNetSupport()Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.InstanceStategetState()StringgetSubnetKey()EC2-VPC The ID of the subnet in which the instance is running.List<Tag>getTags()Any tags assigned to the instance.DategetTimeLaunch()The time the instance was launched.StringgetTpmSupport()If the instance is configured for NitroTPM support, the value is v2.0.StringgetVirtualizationType()The virtualization type of the instance.StringgetVpcKey()EC2-VPC The ID of the VPC in which the instance is running.inthashCode()AwsEc2Properties.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-