Package com.oracle.bmc.cloudbridge.model
Class AwsEc2Properties.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudbridge.model.AwsEc2Properties.Builder
 
- 
- Enclosing class:
- AwsEc2Properties
 
 public static class AwsEc2Properties.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AwsEc2Properties.Builderarchitecture(String architecture)The architecture of the image.AwsEc2Properties.BuilderareElasticInferenceAcceleratorsPresent(Boolean areElasticInferenceAcceleratorsPresent)Indicates if the elastic inference accelerators attached to an instanceAwsEc2Properties.BuilderbootMode(String bootMode)The boot mode of the instance.AwsEc2Propertiesbuild()AwsEc2Properties.BuildercapacityReservationKey(String capacityReservationKey)The ID of the Capacity Reservation.AwsEc2Properties.Buildercopy(AwsEc2Properties model)AwsEc2Properties.BuilderimageKey(String imageKey)The ID of the AMI used to launch the instance.AwsEc2Properties.BuilderinstanceKey(String instanceKey)The ID of the instance.AwsEc2Properties.BuilderinstanceLifecycle(String instanceLifecycle)Indicates whether this is a Spot Instance or a Scheduled Instance.AwsEc2Properties.BuilderinstanceType(String instanceType)The instance type.AwsEc2Properties.BuilderipAddress(String ipAddress)The public IPv4 address, or the Carrier IP address assigned to the instance.AwsEc2Properties.Builderipv6Address(String ipv6Address)The IPv6 address assigned to the instance.AwsEc2Properties.BuilderisEnclaveOptions(Boolean isEnclaveOptions)Indicates whether the instance is enabled for AWS Nitro Enclaves.AwsEc2Properties.BuilderisHibernationOptions(Boolean isHibernationOptions)Indicates whether the instance is enabled for hibernation.AwsEc2Properties.BuilderisSourceDestCheck(Boolean isSourceDestCheck)Indicates whether source/destination checking is enabled.AwsEc2Properties.BuilderisSpotInstance(Boolean isSpotInstance)If the request is a Spot Instance request, this value will be true.AwsEc2Properties.BuilderkernelKey(String kernelKey)The kernel associated with this instance, if applicable.AwsEc2Properties.Builderlicenses(List<String> licenses)The license configurations for the instance.AwsEc2Properties.BuildermaintenanceOptions(String maintenanceOptions)Provides information on the recovery and maintenance options of your instance.AwsEc2Properties.Buildermonitoring(String monitoring)The monitoring for the instance.AwsEc2Properties.BuildernetworkInterfaces(List<InstanceNetworkInterface> networkInterfaces)The network interfaces for the instance.AwsEc2Properties.Builderplacement(Placement placement)AwsEc2Properties.BuilderprivateDnsName(String privateDnsName)(IPv4 only) The private DNS hostname name assigned to the instance.AwsEc2Properties.BuilderprivateIpAddress(String privateIpAddress)The private IPv4 address assigned to the instance.AwsEc2Properties.BuilderrootDeviceName(String rootDeviceName)The device name of the root device volume.AwsEc2Properties.BuilderrootDeviceType(String rootDeviceType)The root device type used by the AMI.AwsEc2Properties.BuildersecurityGroups(List<GroupIdentifier> securityGroups)The security groups for the instance.AwsEc2Properties.BuildersriovNetSupport(String sriovNetSupport)Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.AwsEc2Properties.Builderstate(InstanceState state)AwsEc2Properties.BuildersubnetKey(String subnetKey)EC2-VPC The ID of the subnet in which the instance is running.AwsEc2Properties.Buildertags(List<Tag> tags)Any tags assigned to the instance.AwsEc2Properties.BuildertimeLaunch(Date timeLaunch)The time the instance was launched.AwsEc2Properties.BuildertpmSupport(String tpmSupport)If the instance is configured for NitroTPM support, the value is v2.0.AwsEc2Properties.BuildervirtualizationType(String virtualizationType)The virtualization type of the instance.AwsEc2Properties.BuildervpcKey(String vpcKey)EC2-VPC The ID of the VPC in which the instance is running.
 
- 
- 
- 
Method Detail- 
architecturepublic AwsEc2Properties.Builder architecture(String architecture) The architecture of the image.- Parameters:
- architecture- the value to set
- Returns:
- this builder
 
 - 
bootModepublic AwsEc2Properties.Builder bootMode(String bootMode) The boot mode of the instance.- Parameters:
- bootMode- the value to set
- Returns:
- this builder
 
 - 
capacityReservationKeypublic AwsEc2Properties.Builder capacityReservationKey(String capacityReservationKey) The ID of the Capacity Reservation.- Parameters:
- capacityReservationKey- the value to set
- Returns:
- this builder
 
 - 
areElasticInferenceAcceleratorsPresentpublic AwsEc2Properties.Builder areElasticInferenceAcceleratorsPresent(Boolean areElasticInferenceAcceleratorsPresent) Indicates if the elastic inference accelerators attached to an instance- Parameters:
- areElasticInferenceAcceleratorsPresent- the value to set
- Returns:
- this builder
 
 - 
isEnclaveOptionspublic AwsEc2Properties.Builder isEnclaveOptions(Boolean isEnclaveOptions) Indicates whether the instance is enabled for AWS Nitro Enclaves.- Parameters:
- isEnclaveOptions- the value to set
- Returns:
- this builder
 
 - 
isHibernationOptionspublic AwsEc2Properties.Builder isHibernationOptions(Boolean isHibernationOptions) Indicates whether the instance is enabled for hibernation.- Parameters:
- isHibernationOptions- the value to set
- Returns:
- this builder
 
 - 
imageKeypublic AwsEc2Properties.Builder imageKey(String imageKey) The ID of the AMI used to launch the instance.- Parameters:
- imageKey- the value to set
- Returns:
- this builder
 
 - 
instanceKeypublic AwsEc2Properties.Builder instanceKey(String instanceKey) The ID of the instance.- Parameters:
- instanceKey- the value to set
- Returns:
- this builder
 
 - 
instanceLifecyclepublic AwsEc2Properties.Builder instanceLifecycle(String instanceLifecycle) Indicates whether this is a Spot Instance or a Scheduled Instance.- Parameters:
- instanceLifecycle- the value to set
- Returns:
- this builder
 
 - 
instanceTypepublic AwsEc2Properties.Builder instanceType(String instanceType) The instance type.- Parameters:
- instanceType- the value to set
- Returns:
- this builder
 
 - 
ipAddresspublic AwsEc2Properties.Builder ipAddress(String ipAddress) The public IPv4 address, or the Carrier IP address assigned to the instance.- Parameters:
- ipAddress- the value to set
- Returns:
- this builder
 
 - 
ipv6Addresspublic AwsEc2Properties.Builder ipv6Address(String ipv6Address) The IPv6 address assigned to the instance.- Parameters:
- ipv6Address- the value to set
- Returns:
- this builder
 
 - 
kernelKeypublic AwsEc2Properties.Builder kernelKey(String kernelKey) The kernel associated with this instance, if applicable.- Parameters:
- kernelKey- the value to set
- Returns:
- this builder
 
 - 
timeLaunchpublic AwsEc2Properties.Builder timeLaunch(Date timeLaunch) The time the instance was launched.- Parameters:
- timeLaunch- the value to set
- Returns:
- this builder
 
 - 
licensespublic AwsEc2Properties.Builder licenses(List<String> licenses) The license configurations for the instance.- Parameters:
- licenses- the value to set
- Returns:
- this builder
 
 - 
maintenanceOptionspublic AwsEc2Properties.Builder maintenanceOptions(String maintenanceOptions) Provides information on the recovery and maintenance options of your instance.- Parameters:
- maintenanceOptions- the value to set
- Returns:
- this builder
 
 - 
monitoringpublic AwsEc2Properties.Builder monitoring(String monitoring) The monitoring for the instance.- Parameters:
- monitoring- the value to set
- Returns:
- this builder
 
 - 
networkInterfacespublic AwsEc2Properties.Builder networkInterfaces(List<InstanceNetworkInterface> networkInterfaces) The network interfaces for the instance.- Parameters:
- networkInterfaces- the value to set
- Returns:
- this builder
 
 - 
placementpublic AwsEc2Properties.Builder placement(Placement placement) 
 - 
privateDnsNamepublic AwsEc2Properties.Builder privateDnsName(String privateDnsName) (IPv4 only) The private DNS hostname name assigned to the instance.- Parameters:
- privateDnsName- the value to set
- Returns:
- this builder
 
 - 
privateIpAddresspublic AwsEc2Properties.Builder privateIpAddress(String privateIpAddress) The private IPv4 address assigned to the instance.- Parameters:
- privateIpAddress- the value to set
- Returns:
- this builder
 
 - 
rootDeviceNamepublic AwsEc2Properties.Builder rootDeviceName(String rootDeviceName) The device name of the root device volume.- Parameters:
- rootDeviceName- the value to set
- Returns:
- this builder
 
 - 
rootDeviceTypepublic AwsEc2Properties.Builder rootDeviceType(String rootDeviceType) The root device type used by the AMI.The AMI can use an EBS volume or an instance store volume. - Parameters:
- rootDeviceType- the value to set
- Returns:
- this builder
 
 - 
securityGroupspublic AwsEc2Properties.Builder securityGroups(List<GroupIdentifier> securityGroups) The security groups for the instance.- Parameters:
- securityGroups- the value to set
- Returns:
- this builder
 
 - 
isSourceDestCheckpublic AwsEc2Properties.Builder isSourceDestCheck(Boolean isSourceDestCheck) Indicates whether source/destination checking is enabled.- Parameters:
- isSourceDestCheck- the value to set
- Returns:
- this builder
 
 - 
isSpotInstancepublic AwsEc2Properties.Builder isSpotInstance(Boolean isSpotInstance) If the request is a Spot Instance request, this value will be true.- Parameters:
- isSpotInstance- the value to set
- Returns:
- this builder
 
 - 
sriovNetSupportpublic AwsEc2Properties.Builder sriovNetSupport(String sriovNetSupport) Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.- Parameters:
- sriovNetSupport- the value to set
- Returns:
- this builder
 
 - 
statepublic AwsEc2Properties.Builder state(InstanceState state) 
 - 
subnetKeypublic AwsEc2Properties.Builder subnetKey(String subnetKey) EC2-VPC The ID of the subnet in which the instance is running.- Parameters:
- subnetKey- the value to set
- Returns:
- this builder
 
 - 
tagspublic AwsEc2Properties.Builder tags(List<Tag> tags) Any tags assigned to the instance.- Parameters:
- tags- the value to set
- Returns:
- this builder
 
 - 
tpmSupportpublic AwsEc2Properties.Builder tpmSupport(String tpmSupport) If the instance is configured for NitroTPM support, the value is v2.0.- Parameters:
- tpmSupport- the value to set
- Returns:
- this builder
 
 - 
virtualizationTypepublic AwsEc2Properties.Builder virtualizationType(String virtualizationType) The virtualization type of the instance.- Parameters:
- virtualizationType- the value to set
- Returns:
- this builder
 
 - 
vpcKeypublic AwsEc2Properties.Builder vpcKey(String vpcKey) EC2-VPC The ID of the VPC in which the instance is running.- Parameters:
- vpcKey- the value to set
- Returns:
- this builder
 
 - 
buildpublic AwsEc2Properties build() 
 - 
copypublic AwsEc2Properties.Builder copy(AwsEc2Properties model) 
 
- 
 
-