public static class AwsEc2Properties.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AwsEc2Properties.Builder |
architecture(String architecture)
The architecture of the image.
|
AwsEc2Properties.Builder |
areElasticInferenceAcceleratorsPresent(Boolean areElasticInferenceAcceleratorsPresent)
Indicates if the elastic inference accelerators attached to an instance
|
AwsEc2Properties.Builder |
bootMode(String bootMode)
The boot mode of the instance.
|
AwsEc2Properties |
build() |
AwsEc2Properties.Builder |
capacityReservationKey(String capacityReservationKey)
The ID of the Capacity Reservation.
|
AwsEc2Properties.Builder |
copy(AwsEc2Properties model) |
AwsEc2Properties.Builder |
imageKey(String imageKey)
The ID of the AMI used to launch the instance.
|
AwsEc2Properties.Builder |
instanceKey(String instanceKey)
The ID of the instance.
|
AwsEc2Properties.Builder |
instanceLifecycle(String instanceLifecycle)
Indicates whether this is a Spot Instance or a Scheduled Instance.
|
AwsEc2Properties.Builder |
instanceType(String instanceType)
The instance type.
|
AwsEc2Properties.Builder |
ipAddress(String ipAddress)
The public IPv4 address, or the Carrier IP address assigned to the instance.
|
AwsEc2Properties.Builder |
ipv6Address(String ipv6Address)
The IPv6 address assigned to the instance.
|
AwsEc2Properties.Builder |
isEnclaveOptions(Boolean isEnclaveOptions)
Indicates whether the instance is enabled for AWS Nitro Enclaves.
|
AwsEc2Properties.Builder |
isHibernationOptions(Boolean isHibernationOptions)
Indicates whether the instance is enabled for hibernation.
|
AwsEc2Properties.Builder |
isSourceDestCheck(Boolean isSourceDestCheck)
Indicates whether source/destination checking is enabled.
|
AwsEc2Properties.Builder |
isSpotInstance(Boolean isSpotInstance)
If the request is a Spot Instance request, this value will be true.
|
AwsEc2Properties.Builder |
kernelKey(String kernelKey)
The kernel associated with this instance, if applicable.
|
AwsEc2Properties.Builder |
licenses(List<String> licenses)
The license configurations for the instance.
|
AwsEc2Properties.Builder |
maintenanceOptions(String maintenanceOptions)
Provides information on the recovery and maintenance options of your instance.
|
AwsEc2Properties.Builder |
monitoring(String monitoring)
The monitoring for the instance.
|
AwsEc2Properties.Builder |
networkInterfaces(List<InstanceNetworkInterface> networkInterfaces)
The network interfaces for the instance.
|
AwsEc2Properties.Builder |
placement(Placement placement) |
AwsEc2Properties.Builder |
privateDnsName(String privateDnsName)
(IPv4 only) The private DNS hostname name assigned to the instance.
|
AwsEc2Properties.Builder |
privateIpAddress(String privateIpAddress)
The private IPv4 address assigned to the instance.
|
AwsEc2Properties.Builder |
rootDeviceName(String rootDeviceName)
The device name of the root device volume.
|
AwsEc2Properties.Builder |
rootDeviceType(String rootDeviceType)
The root device type used by the AMI.
|
AwsEc2Properties.Builder |
securityGroups(List<GroupIdentifier> securityGroups)
The security groups for the instance.
|
AwsEc2Properties.Builder |
sriovNetSupport(String sriovNetSupport)
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is
enabled.
|
AwsEc2Properties.Builder |
state(InstanceState state) |
AwsEc2Properties.Builder |
subnetKey(String subnetKey)
EC2-VPC The ID of the subnet in which the instance is running.
|
AwsEc2Properties.Builder |
tags(List<Tag> tags)
Any tags assigned to the instance.
|
AwsEc2Properties.Builder |
timeLaunch(Date timeLaunch)
The time the instance was launched.
|
AwsEc2Properties.Builder |
tpmSupport(String tpmSupport)
If the instance is configured for NitroTPM support, the value is v2.0.
|
AwsEc2Properties.Builder |
virtualizationType(String virtualizationType)
The virtualization type of the instance.
|
AwsEc2Properties.Builder |
vpcKey(String vpcKey)
EC2-VPC The ID of the VPC in which the instance is running.
|
public AwsEc2Properties.Builder architecture(String architecture)
The architecture of the image.
architecture
- the value to setpublic AwsEc2Properties.Builder bootMode(String bootMode)
The boot mode of the instance.
bootMode
- the value to setpublic AwsEc2Properties.Builder capacityReservationKey(String capacityReservationKey)
The ID of the Capacity Reservation.
capacityReservationKey
- the value to setpublic AwsEc2Properties.Builder areElasticInferenceAcceleratorsPresent(Boolean areElasticInferenceAcceleratorsPresent)
Indicates if the elastic inference accelerators attached to an instance
areElasticInferenceAcceleratorsPresent
- the value to setpublic AwsEc2Properties.Builder isEnclaveOptions(Boolean isEnclaveOptions)
Indicates whether the instance is enabled for AWS Nitro Enclaves.
isEnclaveOptions
- the value to setpublic AwsEc2Properties.Builder isHibernationOptions(Boolean isHibernationOptions)
Indicates whether the instance is enabled for hibernation.
isHibernationOptions
- the value to setpublic AwsEc2Properties.Builder imageKey(String imageKey)
The ID of the AMI used to launch the instance.
imageKey
- the value to setpublic AwsEc2Properties.Builder instanceKey(String instanceKey)
The ID of the instance.
instanceKey
- the value to setpublic AwsEc2Properties.Builder instanceLifecycle(String instanceLifecycle)
Indicates whether this is a Spot Instance or a Scheduled Instance.
instanceLifecycle
- the value to setpublic AwsEc2Properties.Builder instanceType(String instanceType)
The instance type.
instanceType
- the value to setpublic AwsEc2Properties.Builder ipAddress(String ipAddress)
The public IPv4 address, or the Carrier IP address assigned to the instance.
ipAddress
- the value to setpublic AwsEc2Properties.Builder ipv6Address(String ipv6Address)
The IPv6 address assigned to the instance.
ipv6Address
- the value to setpublic AwsEc2Properties.Builder kernelKey(String kernelKey)
The kernel associated with this instance, if applicable.
kernelKey
- the value to setpublic AwsEc2Properties.Builder timeLaunch(Date timeLaunch)
The time the instance was launched.
timeLaunch
- the value to setpublic AwsEc2Properties.Builder licenses(List<String> licenses)
The license configurations for the instance.
licenses
- the value to setpublic AwsEc2Properties.Builder maintenanceOptions(String maintenanceOptions)
Provides information on the recovery and maintenance options of your instance.
maintenanceOptions
- the value to setpublic AwsEc2Properties.Builder monitoring(String monitoring)
The monitoring for the instance.
monitoring
- the value to setpublic AwsEc2Properties.Builder networkInterfaces(List<InstanceNetworkInterface> networkInterfaces)
The network interfaces for the instance.
networkInterfaces
- the value to setpublic AwsEc2Properties.Builder placement(Placement placement)
public AwsEc2Properties.Builder privateDnsName(String privateDnsName)
(IPv4 only) The private DNS hostname name assigned to the instance.
privateDnsName
- the value to setpublic AwsEc2Properties.Builder privateIpAddress(String privateIpAddress)
The private IPv4 address assigned to the instance.
privateIpAddress
- the value to setpublic AwsEc2Properties.Builder rootDeviceName(String rootDeviceName)
The device name of the root device volume.
rootDeviceName
- the value to setpublic 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.
rootDeviceType
- the value to setpublic AwsEc2Properties.Builder securityGroups(List<GroupIdentifier> securityGroups)
The security groups for the instance.
securityGroups
- the value to setpublic AwsEc2Properties.Builder isSourceDestCheck(Boolean isSourceDestCheck)
Indicates whether source/destination checking is enabled.
isSourceDestCheck
- the value to setpublic AwsEc2Properties.Builder isSpotInstance(Boolean isSpotInstance)
If the request is a Spot Instance request, this value will be true.
isSpotInstance
- the value to setpublic AwsEc2Properties.Builder sriovNetSupport(String sriovNetSupport)
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sriovNetSupport
- the value to setpublic AwsEc2Properties.Builder state(InstanceState state)
public AwsEc2Properties.Builder subnetKey(String subnetKey)
EC2-VPC The ID of the subnet in which the instance is running.
subnetKey
- the value to setpublic AwsEc2Properties.Builder tags(List<Tag> tags)
Any tags assigned to the instance.
tags
- the value to setpublic AwsEc2Properties.Builder tpmSupport(String tpmSupport)
If the instance is configured for NitroTPM support, the value is v2.0.
tpmSupport
- the value to setpublic AwsEc2Properties.Builder virtualizationType(String virtualizationType)
The virtualization type of the instance.
virtualizationType
- the value to setpublic AwsEc2Properties.Builder vpcKey(String vpcKey)
EC2-VPC The ID of the VPC in which the instance is running.
vpcKey
- the value to setpublic AwsEc2Properties build()
public AwsEc2Properties.Builder copy(AwsEc2Properties model)
Copyright © 2016–2024. All rights reserved.