Interface Instance.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Instance.Builder,Instance>
,SdkBuilder<Instance.Builder,Instance>
,SdkPojo
- Enclosing class:
- Instance
public static interface Instance.Builder extends SdkPojo, CopyableBuilder<Instance.Builder,Instance>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Instance.Builder
amiLaunchIndex(Integer amiLaunchIndex)
The AMI launch index, which can be used to find this instance in the launch group.Instance.Builder
architecture(String architecture)
The architecture of the image.Instance.Builder
architecture(ArchitectureValues architecture)
The architecture of the image.Instance.Builder
blockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
Any block device mapping entries for the instance.Instance.Builder
blockDeviceMappings(Consumer<InstanceBlockDeviceMapping.Builder>... blockDeviceMappings)
Any block device mapping entries for the instance.Instance.Builder
blockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
Any block device mapping entries for the instance.Instance.Builder
bootMode(String bootMode)
The boot mode that was specified by the AMI.Instance.Builder
bootMode(BootModeValues bootMode)
The boot mode that was specified by the AMI.Instance.Builder
capacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.default Instance.Builder
capacityReservationSpecification(Consumer<CapacityReservationSpecificationResponse.Builder> capacityReservationSpecification)
Information about the Capacity Reservation targeting option.Instance.Builder
capacityReservationSpecification(CapacityReservationSpecificationResponse capacityReservationSpecification)
Information about the Capacity Reservation targeting option.Instance.Builder
clientToken(String clientToken)
The idempotency token you provided when you launched the instance, if applicable.default Instance.Builder
cpuOptions(Consumer<CpuOptions.Builder> cpuOptions)
The CPU options for the instance.Instance.Builder
cpuOptions(CpuOptions cpuOptions)
The CPU options for the instance.Instance.Builder
currentInstanceBootMode(String currentInstanceBootMode)
The boot mode that is used to boot the instance at launch or start.Instance.Builder
currentInstanceBootMode(InstanceBootModeValues currentInstanceBootMode)
The boot mode that is used to boot the instance at launch or start.Instance.Builder
ebsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.Instance.Builder
elasticGpuAssociations(Collection<ElasticGpuAssociation> elasticGpuAssociations)
Deprecated.Instance.Builder
elasticGpuAssociations(Consumer<ElasticGpuAssociation.Builder>... elasticGpuAssociations)
Deprecated.Instance.Builder
elasticGpuAssociations(ElasticGpuAssociation... elasticGpuAssociations)
Deprecated.Instance.Builder
elasticInferenceAcceleratorAssociations(Collection<ElasticInferenceAcceleratorAssociation> elasticInferenceAcceleratorAssociations)
DeprecatedInstance.Builder
elasticInferenceAcceleratorAssociations(Consumer<ElasticInferenceAcceleratorAssociation.Builder>... elasticInferenceAcceleratorAssociations)
DeprecatedInstance.Builder
elasticInferenceAcceleratorAssociations(ElasticInferenceAcceleratorAssociation... elasticInferenceAcceleratorAssociations)
DeprecatedInstance.Builder
enaSupport(Boolean enaSupport)
Specifies whether enhanced networking with ENA is enabled.default Instance.Builder
enclaveOptions(Consumer<EnclaveOptions.Builder> enclaveOptions)
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.Instance.Builder
enclaveOptions(EnclaveOptions enclaveOptions)
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.default Instance.Builder
hibernationOptions(Consumer<HibernationOptions.Builder> hibernationOptions)
Indicates whether the instance is enabled for hibernation.Instance.Builder
hibernationOptions(HibernationOptions hibernationOptions)
Indicates whether the instance is enabled for hibernation.Instance.Builder
hypervisor(String hypervisor)
The hypervisor type of the instance.Instance.Builder
hypervisor(HypervisorType hypervisor)
The hypervisor type of the instance.default Instance.Builder
iamInstanceProfile(Consumer<IamInstanceProfile.Builder> iamInstanceProfile)
The IAM instance profile associated with the instance, if applicable.Instance.Builder
iamInstanceProfile(IamInstanceProfile iamInstanceProfile)
The IAM instance profile associated with the instance, if applicable.Instance.Builder
imageId(String imageId)
The ID of the AMI used to launch the instance.Instance.Builder
instanceId(String instanceId)
The ID of the instance.Instance.Builder
instanceLifecycle(String instanceLifecycle)
Indicates whether this is a Spot Instance or a Scheduled Instance.Instance.Builder
instanceLifecycle(InstanceLifecycleType instanceLifecycle)
Indicates whether this is a Spot Instance or a Scheduled Instance.Instance.Builder
instanceType(String instanceType)
The instance type.Instance.Builder
instanceType(InstanceType instanceType)
The instance type.Instance.Builder
ipv6Address(String ipv6Address)
The IPv6 address assigned to the instance.Instance.Builder
kernelId(String kernelId)
The kernel associated with this instance, if applicable.Instance.Builder
keyName(String keyName)
The name of the key pair, if this instance was launched with an associated key pair.Instance.Builder
launchTime(Instant launchTime)
The time the instance was launched.Instance.Builder
licenses(Collection<LicenseConfiguration> licenses)
The license configurations for the instance.Instance.Builder
licenses(Consumer<LicenseConfiguration.Builder>... licenses)
The license configurations for the instance.Instance.Builder
licenses(LicenseConfiguration... licenses)
The license configurations for the instance.default Instance.Builder
maintenanceOptions(Consumer<InstanceMaintenanceOptions.Builder> maintenanceOptions)
Provides information on the recovery and maintenance options of your instance.Instance.Builder
maintenanceOptions(InstanceMaintenanceOptions maintenanceOptions)
Provides information on the recovery and maintenance options of your instance.default Instance.Builder
metadataOptions(Consumer<InstanceMetadataOptionsResponse.Builder> metadataOptions)
The metadata options for the instance.Instance.Builder
metadataOptions(InstanceMetadataOptionsResponse metadataOptions)
The metadata options for the instance.default Instance.Builder
monitoring(Consumer<Monitoring.Builder> monitoring)
The monitoring for the instance.Instance.Builder
monitoring(Monitoring monitoring)
The monitoring for the instance.Instance.Builder
networkInterfaces(Collection<InstanceNetworkInterface> networkInterfaces)
The network interfaces for the instance.Instance.Builder
networkInterfaces(Consumer<InstanceNetworkInterface.Builder>... networkInterfaces)
The network interfaces for the instance.Instance.Builder
networkInterfaces(InstanceNetworkInterface... networkInterfaces)
The network interfaces for the instance.Instance.Builder
outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.default Instance.Builder
placement(Consumer<Placement.Builder> placement)
The location where the instance launched, if applicable.Instance.Builder
placement(Placement placement)
The location where the instance launched, if applicable.Instance.Builder
platform(String platform)
The platform.Instance.Builder
platform(PlatformValues platform)
The platform.Instance.Builder
platformDetails(String platformDetails)
The platform details value for the instance.Instance.Builder
privateDnsName(String privateDnsName)
[IPv4 only] The private DNS hostname name assigned to the instance.default Instance.Builder
privateDnsNameOptions(Consumer<PrivateDnsNameOptionsResponse.Builder> privateDnsNameOptions)
The options for the instance hostname.Instance.Builder
privateDnsNameOptions(PrivateDnsNameOptionsResponse privateDnsNameOptions)
The options for the instance hostname.Instance.Builder
privateIpAddress(String privateIpAddress)
The private IPv4 address assigned to the instance.Instance.Builder
productCodes(Collection<ProductCode> productCodes)
The product codes attached to this instance, if applicable.Instance.Builder
productCodes(Consumer<ProductCode.Builder>... productCodes)
The product codes attached to this instance, if applicable.Instance.Builder
productCodes(ProductCode... productCodes)
The product codes attached to this instance, if applicable.Instance.Builder
publicDnsName(String publicDnsName)
[IPv4 only] The public DNS name assigned to the instance.Instance.Builder
publicIpAddress(String publicIpAddress)
The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.Instance.Builder
ramdiskId(String ramdiskId)
The RAM disk associated with this instance, if applicable.Instance.Builder
rootDeviceName(String rootDeviceName)
The device name of the root device volume (for example,/dev/sda1
).Instance.Builder
rootDeviceType(String rootDeviceType)
The root device type used by the AMI.Instance.Builder
rootDeviceType(DeviceType rootDeviceType)
The root device type used by the AMI.Instance.Builder
securityGroups(Collection<GroupIdentifier> securityGroups)
The security groups for the instance.Instance.Builder
securityGroups(Consumer<GroupIdentifier.Builder>... securityGroups)
The security groups for the instance.Instance.Builder
securityGroups(GroupIdentifier... securityGroups)
The security groups for the instance.Instance.Builder
sourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.Instance.Builder
spotInstanceRequestId(String spotInstanceRequestId)
If the request is a Spot Instance request, the ID of the request.Instance.Builder
sriovNetSupport(String sriovNetSupport)
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.default Instance.Builder
state(Consumer<InstanceState.Builder> state)
The current state of the instance.Instance.Builder
state(InstanceState state)
The current state of the instance.default Instance.Builder
stateReason(Consumer<StateReason.Builder> stateReason)
The reason for the most recent state transition.Instance.Builder
stateReason(StateReason stateReason)
The reason for the most recent state transition.Instance.Builder
stateTransitionReason(String stateTransitionReason)
The reason for the most recent state transition.Instance.Builder
subnetId(String subnetId)
The ID of the subnet in which the instance is running.Instance.Builder
tags(Collection<Tag> tags)
Any tags assigned to the instance.Instance.Builder
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the instance.Instance.Builder
tags(Tag... tags)
Any tags assigned to the instance.Instance.Builder
tpmSupport(String tpmSupport)
If the instance is configured for NitroTPM support, the value isv2.0
.Instance.Builder
usageOperation(String usageOperation)
The usage operation value for the instance.Instance.Builder
usageOperationUpdateTime(Instant usageOperationUpdateTime)
The time that the usage operation was last updated.Instance.Builder
virtualizationType(String virtualizationType)
The virtualization type of the instance.Instance.Builder
virtualizationType(VirtualizationType virtualizationType)
The virtualization type of the instance.Instance.Builder
vpcId(String vpcId)
The ID of the VPC in which the instance is running.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
architecture
Instance.Builder architecture(String architecture)
The architecture of the image.
- Parameters:
architecture
- The architecture of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArchitectureValues
,ArchitectureValues
-
architecture
Instance.Builder architecture(ArchitectureValues architecture)
The architecture of the image.
- Parameters:
architecture
- The architecture of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArchitectureValues
,ArchitectureValues
-
blockDeviceMappings
Instance.Builder blockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
Any block device mapping entries for the instance.
- Parameters:
blockDeviceMappings
- Any block device mapping entries for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
Instance.Builder blockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
Any block device mapping entries for the instance.
- Parameters:
blockDeviceMappings
- Any block device mapping entries for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
Instance.Builder blockDeviceMappings(Consumer<InstanceBlockDeviceMapping.Builder>... blockDeviceMappings)
Any block device mapping entries for the instance.
This is a convenience method that creates an instance of theInstanceBlockDeviceMapping.Builder
avoiding the need to create one manually viaInstanceBlockDeviceMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#blockDeviceMappings(List
.) - Parameters:
blockDeviceMappings
- a consumer that will call methods onInstanceBlockDeviceMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#blockDeviceMappings(java.util.Collection
)
-
clientToken
Instance.Builder clientToken(String clientToken)
The idempotency token you provided when you launched the instance, if applicable.
- Parameters:
clientToken
- The idempotency token you provided when you launched the instance, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsOptimized
Instance.Builder ebsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
- Parameters:
ebsOptimized
- Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enaSupport
Instance.Builder enaSupport(Boolean enaSupport)
Specifies whether enhanced networking with ENA is enabled.
- Parameters:
enaSupport
- Specifies whether enhanced networking with ENA is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hypervisor
Instance.Builder hypervisor(String hypervisor)
The hypervisor type of the instance. The value
xen
is used for both Xen and Nitro hypervisors.- Parameters:
hypervisor
- The hypervisor type of the instance. The valuexen
is used for both Xen and Nitro hypervisors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HypervisorType
,HypervisorType
-
hypervisor
Instance.Builder hypervisor(HypervisorType hypervisor)
The hypervisor type of the instance. The value
xen
is used for both Xen and Nitro hypervisors.- Parameters:
hypervisor
- The hypervisor type of the instance. The valuexen
is used for both Xen and Nitro hypervisors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HypervisorType
,HypervisorType
-
iamInstanceProfile
Instance.Builder iamInstanceProfile(IamInstanceProfile iamInstanceProfile)
The IAM instance profile associated with the instance, if applicable.
- Parameters:
iamInstanceProfile
- The IAM instance profile associated with the instance, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamInstanceProfile
default Instance.Builder iamInstanceProfile(Consumer<IamInstanceProfile.Builder> iamInstanceProfile)
The IAM instance profile associated with the instance, if applicable.
This is a convenience method that creates an instance of theIamInstanceProfile.Builder
avoiding the need to create one manually viaIamInstanceProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiamInstanceProfile(IamInstanceProfile)
.- Parameters:
iamInstanceProfile
- a consumer that will call methods onIamInstanceProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
iamInstanceProfile(IamInstanceProfile)
-
instanceLifecycle
Instance.Builder instanceLifecycle(String instanceLifecycle)
Indicates whether this is a Spot Instance or a Scheduled Instance.
- Parameters:
instanceLifecycle
- Indicates whether this is a Spot Instance or a Scheduled Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceLifecycleType
,InstanceLifecycleType
-
instanceLifecycle
Instance.Builder instanceLifecycle(InstanceLifecycleType instanceLifecycle)
Indicates whether this is a Spot Instance or a Scheduled Instance.
- Parameters:
instanceLifecycle
- Indicates whether this is a Spot Instance or a Scheduled Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceLifecycleType
,InstanceLifecycleType
-
elasticGpuAssociations
Instance.Builder elasticGpuAssociations(Collection<ElasticGpuAssociation> elasticGpuAssociations)
Deprecated.
Amazon Elastic Graphics reached end of life on January 8, 2024.
- Parameters:
elasticGpuAssociations
- Deprecated.Amazon Elastic Graphics reached end of life on January 8, 2024.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticGpuAssociations
Instance.Builder elasticGpuAssociations(ElasticGpuAssociation... elasticGpuAssociations)
Deprecated.
Amazon Elastic Graphics reached end of life on January 8, 2024.
- Parameters:
elasticGpuAssociations
- Deprecated.Amazon Elastic Graphics reached end of life on January 8, 2024.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticGpuAssociations
Instance.Builder elasticGpuAssociations(Consumer<ElasticGpuAssociation.Builder>... elasticGpuAssociations)
Deprecated.
Amazon Elastic Graphics reached end of life on January 8, 2024.
ElasticGpuAssociation.Builder
avoiding the need to create one manually viaElasticGpuAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#elasticGpuAssociations(List
.) - Parameters:
elasticGpuAssociations
- a consumer that will call methods onElasticGpuAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#elasticGpuAssociations(java.util.Collection
)
-
elasticInferenceAcceleratorAssociations
Instance.Builder elasticInferenceAcceleratorAssociations(Collection<ElasticInferenceAcceleratorAssociation> elasticInferenceAcceleratorAssociations)
Deprecated
Amazon Elastic Inference is no longer available.
- Parameters:
elasticInferenceAcceleratorAssociations
- DeprecatedAmazon Elastic Inference is no longer available.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticInferenceAcceleratorAssociations
Instance.Builder elasticInferenceAcceleratorAssociations(ElasticInferenceAcceleratorAssociation... elasticInferenceAcceleratorAssociations)
Deprecated
Amazon Elastic Inference is no longer available.
- Parameters:
elasticInferenceAcceleratorAssociations
- DeprecatedAmazon Elastic Inference is no longer available.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticInferenceAcceleratorAssociations
Instance.Builder elasticInferenceAcceleratorAssociations(Consumer<ElasticInferenceAcceleratorAssociation.Builder>... elasticInferenceAcceleratorAssociations)
Deprecated
Amazon Elastic Inference is no longer available.
ElasticInferenceAcceleratorAssociation.Builder
avoiding the need to create one manually viaElasticInferenceAcceleratorAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#elasticInferenceAcceleratorAssociations(List
.) - Parameters:
elasticInferenceAcceleratorAssociations
- a consumer that will call methods onElasticInferenceAcceleratorAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#elasticInferenceAcceleratorAssociations(java.util.Collection
)
-
networkInterfaces
Instance.Builder networkInterfaces(Collection<InstanceNetworkInterface> networkInterfaces)
The network interfaces for the instance.
- Parameters:
networkInterfaces
- The network interfaces for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
Instance.Builder networkInterfaces(InstanceNetworkInterface... networkInterfaces)
The network interfaces for the instance.
- Parameters:
networkInterfaces
- The network interfaces for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
Instance.Builder networkInterfaces(Consumer<InstanceNetworkInterface.Builder>... networkInterfaces)
The network interfaces for the instance.
This is a convenience method that creates an instance of theInstanceNetworkInterface.Builder
avoiding the need to create one manually viaInstanceNetworkInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#networkInterfaces(List
.) - Parameters:
networkInterfaces
- a consumer that will call methods onInstanceNetworkInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#networkInterfaces(java.util.Collection
)
-
outpostArn
Instance.Builder outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
- Parameters:
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootDeviceName
Instance.Builder rootDeviceName(String rootDeviceName)
The device name of the root device volume (for example,
/dev/sda1
).- Parameters:
rootDeviceName
- The device name of the root device volume (for example,/dev/sda1
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootDeviceType
Instance.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 root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceType
,DeviceType
-
rootDeviceType
Instance.Builder rootDeviceType(DeviceType rootDeviceType)
The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
- Parameters:
rootDeviceType
- The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceType
,DeviceType
-
securityGroups
Instance.Builder securityGroups(Collection<GroupIdentifier> securityGroups)
The security groups for the instance.
- Parameters:
securityGroups
- The security groups for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
Instance.Builder securityGroups(GroupIdentifier... securityGroups)
The security groups for the instance.
- Parameters:
securityGroups
- The security groups for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
Instance.Builder securityGroups(Consumer<GroupIdentifier.Builder>... securityGroups)
The security groups for the instance.
This is a convenience method that creates an instance of theGroupIdentifier.Builder
avoiding the need to create one manually viaGroupIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#securityGroups(List
.) - Parameters:
securityGroups
- a consumer that will call methods onGroupIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#securityGroups(java.util.Collection
)
-
sourceDestCheck
Instance.Builder sourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
- Parameters:
sourceDestCheck
- Indicates whether source/destination checking is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotInstanceRequestId
Instance.Builder spotInstanceRequestId(String spotInstanceRequestId)
If the request is a Spot Instance request, the ID of the request.
- Parameters:
spotInstanceRequestId
- If the request is a Spot Instance request, the ID of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sriovNetSupport
Instance.Builder sriovNetSupport(String sriovNetSupport)
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
- Parameters:
sriovNetSupport
- Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
Instance.Builder stateReason(StateReason stateReason)
The reason for the most recent state transition.
- Parameters:
stateReason
- The reason for the most recent state transition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
default Instance.Builder stateReason(Consumer<StateReason.Builder> stateReason)
The reason for the most recent state transition.
This is a convenience method that creates an instance of theStateReason.Builder
avoiding the need to create one manually viaStateReason.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateReason(StateReason)
.- Parameters:
stateReason
- a consumer that will call methods onStateReason.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
stateReason(StateReason)
-
tags
Instance.Builder tags(Collection<Tag> tags)
Any tags assigned to the instance.
- Parameters:
tags
- Any tags assigned to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Instance.Builder tags(Tag... tags)
Any tags assigned to the instance.
- Parameters:
tags
- Any tags assigned to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Instance.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the instance.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
virtualizationType
Instance.Builder virtualizationType(String virtualizationType)
The virtualization type of the instance.
- Parameters:
virtualizationType
- The virtualization type of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VirtualizationType
,VirtualizationType
-
virtualizationType
Instance.Builder virtualizationType(VirtualizationType virtualizationType)
The virtualization type of the instance.
- Parameters:
virtualizationType
- The virtualization type of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VirtualizationType
,VirtualizationType
-
cpuOptions
Instance.Builder cpuOptions(CpuOptions cpuOptions)
The CPU options for the instance.
- Parameters:
cpuOptions
- The CPU options for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuOptions
default Instance.Builder cpuOptions(Consumer<CpuOptions.Builder> cpuOptions)
The CPU options for the instance.
This is a convenience method that creates an instance of theCpuOptions.Builder
avoiding the need to create one manually viaCpuOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocpuOptions(CpuOptions)
.- Parameters:
cpuOptions
- a consumer that will call methods onCpuOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cpuOptions(CpuOptions)
-
capacityReservationId
Instance.Builder capacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
- Parameters:
capacityReservationId
- The ID of the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationSpecification
Instance.Builder capacityReservationSpecification(CapacityReservationSpecificationResponse capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
- Parameters:
capacityReservationSpecification
- Information about the Capacity Reservation targeting option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationSpecification
default Instance.Builder capacityReservationSpecification(Consumer<CapacityReservationSpecificationResponse.Builder> capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
This is a convenience method that creates an instance of theCapacityReservationSpecificationResponse.Builder
avoiding the need to create one manually viaCapacityReservationSpecificationResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityReservationSpecification(CapacityReservationSpecificationResponse)
.- Parameters:
capacityReservationSpecification
- a consumer that will call methods onCapacityReservationSpecificationResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
capacityReservationSpecification(CapacityReservationSpecificationResponse)
-
hibernationOptions
Instance.Builder hibernationOptions(HibernationOptions hibernationOptions)
Indicates whether the instance is enabled for hibernation.
- Parameters:
hibernationOptions
- Indicates whether the instance is enabled for hibernation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hibernationOptions
default Instance.Builder hibernationOptions(Consumer<HibernationOptions.Builder> hibernationOptions)
Indicates whether the instance is enabled for hibernation.
This is a convenience method that creates an instance of theHibernationOptions.Builder
avoiding the need to create one manually viaHibernationOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohibernationOptions(HibernationOptions)
.- Parameters:
hibernationOptions
- a consumer that will call methods onHibernationOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
hibernationOptions(HibernationOptions)
-
licenses
Instance.Builder licenses(Collection<LicenseConfiguration> licenses)
The license configurations for the instance.
- Parameters:
licenses
- The license configurations for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenses
Instance.Builder licenses(LicenseConfiguration... licenses)
The license configurations for the instance.
- Parameters:
licenses
- The license configurations for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenses
Instance.Builder licenses(Consumer<LicenseConfiguration.Builder>... licenses)
The license configurations for the instance.
This is a convenience method that creates an instance of theLicenseConfiguration.Builder
avoiding the need to create one manually viaLicenseConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#licenses(List
.) - Parameters:
licenses
- a consumer that will call methods onLicenseConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#licenses(java.util.Collection
)
-
metadataOptions
Instance.Builder metadataOptions(InstanceMetadataOptionsResponse metadataOptions)
The metadata options for the instance.
- Parameters:
metadataOptions
- The metadata options for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataOptions
default Instance.Builder metadataOptions(Consumer<InstanceMetadataOptionsResponse.Builder> metadataOptions)
The metadata options for the instance.
This is a convenience method that creates an instance of theInstanceMetadataOptionsResponse.Builder
avoiding the need to create one manually viaInstanceMetadataOptionsResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataOptions(InstanceMetadataOptionsResponse)
.- Parameters:
metadataOptions
- a consumer that will call methods onInstanceMetadataOptionsResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadataOptions(InstanceMetadataOptionsResponse)
-
enclaveOptions
Instance.Builder enclaveOptions(EnclaveOptions enclaveOptions)
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
- Parameters:
enclaveOptions
- Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enclaveOptions
default Instance.Builder enclaveOptions(Consumer<EnclaveOptions.Builder> enclaveOptions)
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
This is a convenience method that creates an instance of theEnclaveOptions.Builder
avoiding the need to create one manually viaEnclaveOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenclaveOptions(EnclaveOptions)
.- Parameters:
enclaveOptions
- a consumer that will call methods onEnclaveOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
enclaveOptions(EnclaveOptions)
-
bootMode
Instance.Builder bootMode(String bootMode)
The boot mode that was specified by the AMI. If the value is
uefi-preferred
, the AMI supports both UEFI and Legacy BIOS. ThecurrentInstanceBootMode
parameter is the boot mode that is used to boot the instance at launch or start.The operating system contained in the AMI must be configured to support the specified boot mode.
For more information, see Boot modes in the Amazon EC2 User Guide.
- Parameters:
bootMode
- The boot mode that was specified by the AMI. If the value isuefi-preferred
, the AMI supports both UEFI and Legacy BIOS. ThecurrentInstanceBootMode
parameter is the boot mode that is used to boot the instance at launch or start.The operating system contained in the AMI must be configured to support the specified boot mode.
For more information, see Boot modes in the Amazon EC2 User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BootModeValues
,BootModeValues
-
bootMode
Instance.Builder bootMode(BootModeValues bootMode)
The boot mode that was specified by the AMI. If the value is
uefi-preferred
, the AMI supports both UEFI and Legacy BIOS. ThecurrentInstanceBootMode
parameter is the boot mode that is used to boot the instance at launch or start.The operating system contained in the AMI must be configured to support the specified boot mode.
For more information, see Boot modes in the Amazon EC2 User Guide.
- Parameters:
bootMode
- The boot mode that was specified by the AMI. If the value isuefi-preferred
, the AMI supports both UEFI and Legacy BIOS. ThecurrentInstanceBootMode
parameter is the boot mode that is used to boot the instance at launch or start.The operating system contained in the AMI must be configured to support the specified boot mode.
For more information, see Boot modes in the Amazon EC2 User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BootModeValues
,BootModeValues
-
platformDetails
Instance.Builder platformDetails(String platformDetails)
The platform details value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.
- Parameters:
platformDetails
- The platform details value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageOperation
Instance.Builder usageOperation(String usageOperation)
The usage operation value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.
- Parameters:
usageOperation
- The usage operation value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageOperationUpdateTime
Instance.Builder usageOperationUpdateTime(Instant usageOperationUpdateTime)
The time that the usage operation was last updated.
- Parameters:
usageOperationUpdateTime
- The time that the usage operation was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsNameOptions
Instance.Builder privateDnsNameOptions(PrivateDnsNameOptionsResponse privateDnsNameOptions)
The options for the instance hostname.
- Parameters:
privateDnsNameOptions
- The options for the instance hostname.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsNameOptions
default Instance.Builder privateDnsNameOptions(Consumer<PrivateDnsNameOptionsResponse.Builder> privateDnsNameOptions)
The options for the instance hostname.
This is a convenience method that creates an instance of thePrivateDnsNameOptionsResponse.Builder
avoiding the need to create one manually viaPrivateDnsNameOptionsResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprivateDnsNameOptions(PrivateDnsNameOptionsResponse)
.- Parameters:
privateDnsNameOptions
- a consumer that will call methods onPrivateDnsNameOptionsResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
privateDnsNameOptions(PrivateDnsNameOptionsResponse)
-
ipv6Address
Instance.Builder ipv6Address(String ipv6Address)
The IPv6 address assigned to the instance.
- Parameters:
ipv6Address
- The IPv6 address assigned to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tpmSupport
Instance.Builder tpmSupport(String tpmSupport)
If the instance is configured for NitroTPM support, the value is
v2.0
. For more information, see NitroTPM in the Amazon EC2 User Guide.- Parameters:
tpmSupport
- If the instance is configured for NitroTPM support, the value isv2.0
. For more information, see NitroTPM in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceOptions
Instance.Builder maintenanceOptions(InstanceMaintenanceOptions maintenanceOptions)
Provides information on the recovery and maintenance options of your instance.
- Parameters:
maintenanceOptions
- Provides information on the recovery and maintenance options of your instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceOptions
default Instance.Builder maintenanceOptions(Consumer<InstanceMaintenanceOptions.Builder> maintenanceOptions)
Provides information on the recovery and maintenance options of your instance.
This is a convenience method that creates an instance of theInstanceMaintenanceOptions.Builder
avoiding the need to create one manually viaInstanceMaintenanceOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenanceOptions(InstanceMaintenanceOptions)
.- Parameters:
maintenanceOptions
- a consumer that will call methods onInstanceMaintenanceOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
maintenanceOptions(InstanceMaintenanceOptions)
-
currentInstanceBootMode
Instance.Builder currentInstanceBootMode(String currentInstanceBootMode)
The boot mode that is used to boot the instance at launch or start. For more information, see Boot modes in the Amazon EC2 User Guide.
- Parameters:
currentInstanceBootMode
- The boot mode that is used to boot the instance at launch or start. For more information, see Boot modes in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceBootModeValues
,InstanceBootModeValues
-
currentInstanceBootMode
Instance.Builder currentInstanceBootMode(InstanceBootModeValues currentInstanceBootMode)
The boot mode that is used to boot the instance at launch or start. For more information, see Boot modes in the Amazon EC2 User Guide.
- Parameters:
currentInstanceBootMode
- The boot mode that is used to boot the instance at launch or start. For more information, see Boot modes in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceBootModeValues
,InstanceBootModeValues
-
instanceId
Instance.Builder instanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
Instance.Builder imageId(String imageId)
The ID of the AMI used to launch the instance.
- Parameters:
imageId
- The ID of the AMI used to launch the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Instance.Builder state(InstanceState state)
The current state of the instance.
- Parameters:
state
- The current state of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
default Instance.Builder state(Consumer<InstanceState.Builder> state)
The current state of the instance.
This is a convenience method that creates an instance of theInstanceState.Builder
avoiding the need to create one manually viaInstanceState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostate(InstanceState)
.- Parameters:
state
- a consumer that will call methods onInstanceState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
state(InstanceState)
-
privateDnsName
Instance.Builder privateDnsName(String privateDnsName)
[IPv4 only] The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the
running
state.The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.
- Parameters:
privateDnsName
- [IPv4 only] The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters therunning
state.The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicDnsName
Instance.Builder publicDnsName(String publicDnsName)
[IPv4 only] The public DNS name assigned to the instance. This name is not available until the instance enters the
running
state. This name is only available if you've enabled DNS hostnames for your VPC.- Parameters:
publicDnsName
- [IPv4 only] The public DNS name assigned to the instance. This name is not available until the instance enters therunning
state. This name is only available if you've enabled DNS hostnames for your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTransitionReason
Instance.Builder stateTransitionReason(String stateTransitionReason)
The reason for the most recent state transition. This might be an empty string.
- Parameters:
stateTransitionReason
- The reason for the most recent state transition. This might be an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyName
Instance.Builder keyName(String keyName)
The name of the key pair, if this instance was launched with an associated key pair.
- Parameters:
keyName
- The name of the key pair, if this instance was launched with an associated key pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amiLaunchIndex
Instance.Builder amiLaunchIndex(Integer amiLaunchIndex)
The AMI launch index, which can be used to find this instance in the launch group.
- Parameters:
amiLaunchIndex
- The AMI launch index, which can be used to find this instance in the launch group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
Instance.Builder productCodes(Collection<ProductCode> productCodes)
The product codes attached to this instance, if applicable.
- Parameters:
productCodes
- The product codes attached to this instance, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
Instance.Builder productCodes(ProductCode... productCodes)
The product codes attached to this instance, if applicable.
- Parameters:
productCodes
- The product codes attached to this instance, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
Instance.Builder productCodes(Consumer<ProductCode.Builder>... productCodes)
The product codes attached to this instance, if applicable.
This is a convenience method that creates an instance of theProductCode.Builder
avoiding the need to create one manually viaProductCode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#productCodes(List
.) - Parameters:
productCodes
- a consumer that will call methods onProductCode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#productCodes(java.util.Collection
)
-
instanceType
Instance.Builder instanceType(String instanceType)
The instance type.
- Parameters:
instanceType
- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceType
,InstanceType
-
instanceType
Instance.Builder instanceType(InstanceType instanceType)
The instance type.
- Parameters:
instanceType
- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceType
,InstanceType
-
launchTime
Instance.Builder launchTime(Instant launchTime)
The time the instance was launched.
- Parameters:
launchTime
- The time the instance was launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placement
Instance.Builder placement(Placement placement)
The location where the instance launched, if applicable.
- Parameters:
placement
- The location where the instance launched, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placement
default Instance.Builder placement(Consumer<Placement.Builder> placement)
The location where the instance launched, if applicable.
This is a convenience method that creates an instance of thePlacement.Builder
avoiding the need to create one manually viaPlacement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplacement(Placement)
.- Parameters:
placement
- a consumer that will call methods onPlacement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
placement(Placement)
-
kernelId
Instance.Builder kernelId(String kernelId)
The kernel associated with this instance, if applicable.
- Parameters:
kernelId
- The kernel associated with this instance, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ramdiskId
Instance.Builder ramdiskId(String ramdiskId)
The RAM disk associated with this instance, if applicable.
- Parameters:
ramdiskId
- The RAM disk associated with this instance, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
Instance.Builder platform(String platform)
The platform. This value is
windows
for Windows instances; otherwise, it is empty.- Parameters:
platform
- The platform. This value iswindows
for Windows instances; otherwise, it is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformValues
,PlatformValues
-
platform
Instance.Builder platform(PlatformValues platform)
The platform. This value is
windows
for Windows instances; otherwise, it is empty.- Parameters:
platform
- The platform. This value iswindows
for Windows instances; otherwise, it is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformValues
,PlatformValues
-
monitoring
Instance.Builder monitoring(Monitoring monitoring)
The monitoring for the instance.
- Parameters:
monitoring
- The monitoring for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoring
default Instance.Builder monitoring(Consumer<Monitoring.Builder> monitoring)
The monitoring for the instance.
This is a convenience method that creates an instance of theMonitoring.Builder
avoiding the need to create one manually viaMonitoring.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoring(Monitoring)
.- Parameters:
monitoring
- a consumer that will call methods onMonitoring.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
monitoring(Monitoring)
-
subnetId
Instance.Builder subnetId(String subnetId)
The ID of the subnet in which the instance is running.
- Parameters:
subnetId
- The ID of the subnet in which the instance is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
Instance.Builder vpcId(String vpcId)
The ID of the VPC in which the instance is running.
- Parameters:
vpcId
- The ID of the VPC in which the instance is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpAddress
Instance.Builder privateIpAddress(String privateIpAddress)
The private IPv4 address assigned to the instance.
- Parameters:
privateIpAddress
- The private IPv4 address assigned to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIpAddress
Instance.Builder publicIpAddress(String publicIpAddress)
The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.
A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.
- Parameters:
publicIpAddress
- The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-