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 SummaryNested Classes Modifier and Type Class Description static classAwsEc2Properties.Builder
 - 
Constructor SummaryConstructors 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 SummaryAll 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- 
builderpublic static AwsEc2Properties.Builder builder() Create a new builder.
 - 
toBuilderpublic AwsEc2Properties.Builder toBuilder() 
 - 
getArchitecturepublic String getArchitecture() The architecture of the image.- Returns:
- the value
 
 - 
getBootModepublic String getBootMode() The boot mode of the instance.- Returns:
- the value
 
 - 
getCapacityReservationKeypublic String getCapacityReservationKey() The ID of the Capacity Reservation.- Returns:
- the value
 
 - 
getAreElasticInferenceAcceleratorsPresentpublic Boolean getAreElasticInferenceAcceleratorsPresent() Indicates if the elastic inference accelerators attached to an instance- Returns:
- the value
 
 - 
getIsEnclaveOptionspublic Boolean getIsEnclaveOptions() Indicates whether the instance is enabled for AWS Nitro Enclaves.- Returns:
- the value
 
 - 
getIsHibernationOptionspublic Boolean getIsHibernationOptions() Indicates whether the instance is enabled for hibernation.- Returns:
- the value
 
 - 
getImageKeypublic String getImageKey() The ID of the AMI used to launch the instance.- Returns:
- the value
 
 - 
getInstanceKeypublic String getInstanceKey() The ID of the instance.- Returns:
- the value
 
 - 
getInstanceLifecyclepublic String getInstanceLifecycle() Indicates whether this is a Spot Instance or a Scheduled Instance.- Returns:
- the value
 
 - 
getInstanceTypepublic String getInstanceType() The instance type.- Returns:
- the value
 
 - 
getIpAddresspublic String getIpAddress() The public IPv4 address, or the Carrier IP address assigned to the instance.- Returns:
- the value
 
 - 
getIpv6Addresspublic String getIpv6Address() The IPv6 address assigned to the instance.- Returns:
- the value
 
 - 
getKernelKeypublic String getKernelKey() The kernel associated with this instance, if applicable.- Returns:
- the value
 
 - 
getTimeLaunchpublic Date getTimeLaunch() The time the instance was launched.- Returns:
- the value
 
 - 
getLicensespublic List<String> getLicenses() The license configurations for the instance.- Returns:
- the value
 
 - 
getMaintenanceOptionspublic String getMaintenanceOptions() Provides information on the recovery and maintenance options of your instance.- Returns:
- the value
 
 - 
getMonitoringpublic String getMonitoring() The monitoring for the instance.- Returns:
- the value
 
 - 
getNetworkInterfacespublic List<InstanceNetworkInterface> getNetworkInterfaces() The network interfaces for the instance.- Returns:
- the value
 
 - 
getPlacementpublic Placement getPlacement() 
 - 
getPrivateDnsNamepublic String getPrivateDnsName() (IPv4 only) The private DNS hostname name assigned to the instance.- Returns:
- the value
 
 - 
getPrivateIpAddresspublic String getPrivateIpAddress() The private IPv4 address assigned to the instance.- Returns:
- the value
 
 - 
getRootDeviceNamepublic String getRootDeviceName() The device name of the root device volume.- Returns:
- the value
 
 - 
getRootDeviceTypepublic 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
 
 - 
getSecurityGroupspublic List<GroupIdentifier> getSecurityGroups() The security groups for the instance.- Returns:
- the value
 
 - 
getIsSourceDestCheckpublic Boolean getIsSourceDestCheck() Indicates whether source/destination checking is enabled.- Returns:
- the value
 
 - 
getIsSpotInstancepublic Boolean getIsSpotInstance() If the request is a Spot Instance request, this value will be true.- Returns:
- the value
 
 - 
getSriovNetSupportpublic String getSriovNetSupport() Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.- Returns:
- the value
 
 - 
getStatepublic InstanceState getState() 
 - 
getSubnetKeypublic String getSubnetKey() EC2-VPC The ID of the subnet in which the instance is running.- Returns:
- the value
 
 - 
getTpmSupportpublic String getTpmSupport() If the instance is configured for NitroTPM support, the value is v2.0.- Returns:
- the value
 
 - 
getVirtualizationTypepublic String getVirtualizationType() The virtualization type of the instance.- Returns:
- the value
 
 - 
getVpcKeypublic String getVpcKey() EC2-VPC The ID of the VPC in which the instance is running.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-