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.BuilderamiLaunchIndex(Integer amiLaunchIndex)The AMI launch index, which can be used to find this instance in the launch group.Instance.Builderarchitecture(String architecture)The architecture of the image.Instance.Builderarchitecture(ArchitectureValues architecture)The architecture of the image.Instance.BuilderblockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)Any block device mapping entries for the instance.Instance.BuilderblockDeviceMappings(Consumer<InstanceBlockDeviceMapping.Builder>... blockDeviceMappings)Any block device mapping entries for the instance.Instance.BuilderblockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)Any block device mapping entries for the instance.Instance.BuilderbootMode(String bootMode)The boot mode that was specified by the AMI.Instance.BuilderbootMode(BootModeValues bootMode)The boot mode that was specified by the AMI.Instance.BuildercapacityReservationId(String capacityReservationId)The ID of the Capacity Reservation.default Instance.BuildercapacityReservationSpecification(Consumer<CapacityReservationSpecificationResponse.Builder> capacityReservationSpecification)Information about the Capacity Reservation targeting option.Instance.BuildercapacityReservationSpecification(CapacityReservationSpecificationResponse capacityReservationSpecification)Information about the Capacity Reservation targeting option.Instance.BuilderclientToken(String clientToken)The idempotency token you provided when you launched the instance, if applicable.default Instance.BuildercpuOptions(Consumer<CpuOptions.Builder> cpuOptions)The CPU options for the instance.Instance.BuildercpuOptions(CpuOptions cpuOptions)The CPU options for the instance.Instance.BuildercurrentInstanceBootMode(String currentInstanceBootMode)The boot mode that is used to boot the instance at launch or start.Instance.BuildercurrentInstanceBootMode(InstanceBootModeValues currentInstanceBootMode)The boot mode that is used to boot the instance at launch or start.Instance.BuilderebsOptimized(Boolean ebsOptimized)Indicates whether the instance is optimized for Amazon EBS I/O.Instance.BuilderelasticGpuAssociations(Collection<ElasticGpuAssociation> elasticGpuAssociations)Deprecated.Instance.BuilderelasticGpuAssociations(Consumer<ElasticGpuAssociation.Builder>... elasticGpuAssociations)Deprecated.Instance.BuilderelasticGpuAssociations(ElasticGpuAssociation... elasticGpuAssociations)Deprecated.Instance.BuilderelasticInferenceAcceleratorAssociations(Collection<ElasticInferenceAcceleratorAssociation> elasticInferenceAcceleratorAssociations)DeprecatedInstance.BuilderelasticInferenceAcceleratorAssociations(Consumer<ElasticInferenceAcceleratorAssociation.Builder>... elasticInferenceAcceleratorAssociations)DeprecatedInstance.BuilderelasticInferenceAcceleratorAssociations(ElasticInferenceAcceleratorAssociation... elasticInferenceAcceleratorAssociations)DeprecatedInstance.BuilderenaSupport(Boolean enaSupport)Specifies whether enhanced networking with ENA is enabled.default Instance.BuilderenclaveOptions(Consumer<EnclaveOptions.Builder> enclaveOptions)Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.Instance.BuilderenclaveOptions(EnclaveOptions enclaveOptions)Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.default Instance.BuilderhibernationOptions(Consumer<HibernationOptions.Builder> hibernationOptions)Indicates whether the instance is enabled for hibernation.Instance.BuilderhibernationOptions(HibernationOptions hibernationOptions)Indicates whether the instance is enabled for hibernation.Instance.Builderhypervisor(String hypervisor)The hypervisor type of the instance.Instance.Builderhypervisor(HypervisorType hypervisor)The hypervisor type of the instance.default Instance.BuilderiamInstanceProfile(Consumer<IamInstanceProfile.Builder> iamInstanceProfile)The IAM instance profile associated with the instance, if applicable.Instance.BuilderiamInstanceProfile(IamInstanceProfile iamInstanceProfile)The IAM instance profile associated with the instance, if applicable.Instance.BuilderimageId(String imageId)The ID of the AMI used to launch the instance.Instance.BuilderinstanceId(String instanceId)The ID of the instance.Instance.BuilderinstanceLifecycle(String instanceLifecycle)Indicates whether this is a Spot Instance or a Scheduled Instance.Instance.BuilderinstanceLifecycle(InstanceLifecycleType instanceLifecycle)Indicates whether this is a Spot Instance or a Scheduled Instance.Instance.BuilderinstanceType(String instanceType)The instance type.Instance.BuilderinstanceType(InstanceType instanceType)The instance type.Instance.Builderipv6Address(String ipv6Address)The IPv6 address assigned to the instance.Instance.BuilderkernelId(String kernelId)The kernel associated with this instance, if applicable.Instance.BuilderkeyName(String keyName)The name of the key pair, if this instance was launched with an associated key pair.Instance.BuilderlaunchTime(Instant launchTime)The time that the instance was last launched.Instance.Builderlicenses(Collection<LicenseConfiguration> licenses)The license configurations for the instance.Instance.Builderlicenses(Consumer<LicenseConfiguration.Builder>... licenses)The license configurations for the instance.Instance.Builderlicenses(LicenseConfiguration... licenses)The license configurations for the instance.default Instance.BuildermaintenanceOptions(Consumer<InstanceMaintenanceOptions.Builder> maintenanceOptions)Provides information on the recovery and maintenance options of your instance.Instance.BuildermaintenanceOptions(InstanceMaintenanceOptions maintenanceOptions)Provides information on the recovery and maintenance options of your instance.default Instance.BuildermetadataOptions(Consumer<InstanceMetadataOptionsResponse.Builder> metadataOptions)The metadata options for the instance.Instance.BuildermetadataOptions(InstanceMetadataOptionsResponse metadataOptions)The metadata options for the instance.default Instance.Buildermonitoring(Consumer<Monitoring.Builder> monitoring)The monitoring for the instance.Instance.Buildermonitoring(Monitoring monitoring)The monitoring for the instance.Instance.BuildernetworkInterfaces(Collection<InstanceNetworkInterface> networkInterfaces)The network interfaces for the instance.Instance.BuildernetworkInterfaces(Consumer<InstanceNetworkInterface.Builder>... networkInterfaces)The network interfaces for the instance.Instance.BuildernetworkInterfaces(InstanceNetworkInterface... networkInterfaces)The network interfaces for the instance.default Instance.Builderoperator(Consumer<OperatorResponse.Builder> operator)The entity that manages the instance.Instance.Builderoperator(OperatorResponse operator)The entity that manages the instance.Instance.BuilderoutpostArn(String outpostArn)The Amazon Resource Name (ARN) of the Outpost.default Instance.Builderplacement(Consumer<Placement.Builder> placement)The location where the instance launched, if applicable.Instance.Builderplacement(Placement placement)The location where the instance launched, if applicable.Instance.Builderplatform(String platform)The platform.Instance.Builderplatform(PlatformValues platform)The platform.Instance.BuilderplatformDetails(String platformDetails)The platform details value for the instance.Instance.BuilderprivateDnsName(String privateDnsName)[IPv4 only] The private DNS hostname name assigned to the instance.default Instance.BuilderprivateDnsNameOptions(Consumer<PrivateDnsNameOptionsResponse.Builder> privateDnsNameOptions)The options for the instance hostname.Instance.BuilderprivateDnsNameOptions(PrivateDnsNameOptionsResponse privateDnsNameOptions)The options for the instance hostname.Instance.BuilderprivateIpAddress(String privateIpAddress)The private IPv4 address assigned to the instance.Instance.BuilderproductCodes(Collection<ProductCode> productCodes)The product codes attached to this instance, if applicable.Instance.BuilderproductCodes(Consumer<ProductCode.Builder>... productCodes)The product codes attached to this instance, if applicable.Instance.BuilderproductCodes(ProductCode... productCodes)The product codes attached to this instance, if applicable.Instance.BuilderpublicDnsName(String publicDnsName)[IPv4 only] The public DNS name assigned to the instance.Instance.BuilderpublicIpAddress(String publicIpAddress)The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.Instance.BuilderramdiskId(String ramdiskId)The RAM disk associated with this instance, if applicable.Instance.BuilderrootDeviceName(String rootDeviceName)The device name of the root device volume (for example,/dev/sda1).Instance.BuilderrootDeviceType(String rootDeviceType)The root device type used by the AMI.Instance.BuilderrootDeviceType(DeviceType rootDeviceType)The root device type used by the AMI.Instance.BuildersecurityGroups(Collection<GroupIdentifier> securityGroups)The security groups for the instance.Instance.BuildersecurityGroups(Consumer<GroupIdentifier.Builder>... securityGroups)The security groups for the instance.Instance.BuildersecurityGroups(GroupIdentifier... securityGroups)The security groups for the instance.Instance.BuildersourceDestCheck(Boolean sourceDestCheck)Indicates whether source/destination checking is enabled.Instance.BuilderspotInstanceRequestId(String spotInstanceRequestId)If the request is a Spot Instance request, the ID of the request.Instance.BuildersriovNetSupport(String sriovNetSupport)Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.default Instance.Builderstate(Consumer<InstanceState.Builder> state)The current state of the instance.Instance.Builderstate(InstanceState state)The current state of the instance.default Instance.BuilderstateReason(Consumer<StateReason.Builder> stateReason)The reason for the most recent state transition.Instance.BuilderstateReason(StateReason stateReason)The reason for the most recent state transition.Instance.BuilderstateTransitionReason(String stateTransitionReason)The reason for the most recent state transition.Instance.BuildersubnetId(String subnetId)The ID of the subnet in which the instance is running.Instance.Buildertags(Collection<Tag> tags)Any tags assigned to the instance.Instance.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the instance.Instance.Buildertags(Tag... tags)Any tags assigned to the instance.Instance.BuildertpmSupport(String tpmSupport)If the instance is configured for NitroTPM support, the value isv2.0.Instance.BuilderusageOperation(String usageOperation)The usage operation value for the instance.Instance.BuilderusageOperationUpdateTime(Instant usageOperationUpdateTime)The time that the usage operation was last updated.Instance.BuildervirtualizationType(String virtualizationType)The virtualization type of the instance.Instance.BuildervirtualizationType(VirtualizationType virtualizationType)The virtualization type of the instance.Instance.BuildervpcId(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaInstanceBlockDeviceMapping.builder().When the
Consumercompletes,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
xenis used for both Xen and Nitro hypervisors.- Parameters:
hypervisor- The hypervisor type of the instance. The valuexenis 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
xenis used for both Xen and Nitro hypervisors.- Parameters:
hypervisor- The hypervisor type of the instance. The valuexenis 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.Builderavoiding the need to create one manually viaIamInstanceProfile.builder().When the
Consumercompletes,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.
This is a convenience method that creates an instance of theAmazon Elastic Graphics reached end of life on January 8, 2024.
ElasticGpuAssociation.Builderavoiding the need to create one manually viaElasticGpuAssociation.builder().When the
Consumercompletes,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
This is a convenience method that creates an instance of theAmazon Elastic Inference is no longer available.
ElasticInferenceAcceleratorAssociation.Builderavoiding the need to create one manually viaElasticInferenceAcceleratorAssociation.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaInstanceNetworkInterface.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaGroupIdentifier.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaStateReason.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCpuOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCapacityReservationSpecificationResponse.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaHibernationOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLicenseConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaInstanceMetadataOptionsResponse.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEnclaveOptions.builder().When the
Consumercompletes,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. ThecurrentInstanceBootModeparameter 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. ThecurrentInstanceBootModeparameter 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. ThecurrentInstanceBootModeparameter 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. ThecurrentInstanceBootModeparameter 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.Builderavoiding the need to create one manually viaPrivateDnsNameOptionsResponse.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaInstanceMaintenanceOptions.builder().When the
Consumercompletes,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
-
operator
Instance.Builder operator(OperatorResponse operator)
The entity that manages the instance.
- Parameters:
operator- The entity that manages the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
default Instance.Builder operator(Consumer<OperatorResponse.Builder> operator)
The entity that manages the instance.
This is a convenience method that creates an instance of theOperatorResponse.Builderavoiding the need to create one manually viaOperatorResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperator(OperatorResponse).- Parameters:
operator- a consumer that will call methods onOperatorResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
operator(OperatorResponse)
-
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.Builderavoiding the need to create one manually viaInstanceState.builder().When the
Consumercompletes,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
runningstate.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 therunningstate.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
runningstate. 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 therunningstate. 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.Builderavoiding the need to create one manually viaProductCode.builder().When the
Consumercompletes,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 that the instance was last launched. To determine the time that instance was first launched, see the attachment time for the primary network interface.
- Parameters:
launchTime- The time that the instance was last launched. To determine the time that instance was first launched, see the attachment time for the primary network interface.- 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.Builderavoiding the need to create one manually viaPlacement.builder().When the
Consumercompletes,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
windowsfor Windows instances; otherwise, it is empty.- Parameters:
platform- The platform. This value iswindowsfor 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
windowsfor Windows instances; otherwise, it is empty.- Parameters:
platform- The platform. This value iswindowsfor 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.Builderavoiding the need to create one manually viaMonitoring.builder().When the
Consumercompletes,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.
-
-