Interface ManagedInstanceRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedInstanceRequest.Builder,
,ManagedInstanceRequest> SdkBuilder<ManagedInstanceRequest.Builder,
,ManagedInstanceRequest> SdkPojo
- Enclosing class:
ManagedInstanceRequest
-
Method Summary
Modifier and TypeMethodDescriptionblockDeviceMappings
(Collection<BlockDeviceMappingRequest> blockDeviceMappings) Configures block device mappings for storage.blockDeviceMappings
(Consumer<BlockDeviceMappingRequest.Builder>... blockDeviceMappings) Configures block device mappings for storage.blockDeviceMappings
(BlockDeviceMappingRequest... blockDeviceMappings) Configures block device mappings for storage.default ManagedInstanceRequest.Builder
capacityReservationSpecification
(Consumer<CapacityReservationSpecification.Builder> capacityReservationSpecification) Specifies capacity reservation preferences.capacityReservationSpecification
(CapacityReservationSpecification capacityReservationSpecification) Specifies capacity reservation preferences.default ManagedInstanceRequest.Builder
cpuOptions
(Consumer<CpuOptionsRequest.Builder> cpuOptions) Configures CPU-specific settings.cpuOptions
(CpuOptionsRequest cpuOptions) Configures CPU-specific settings.default ManagedInstanceRequest.Builder
creditSpecification
(Consumer<CreditSpecificationRequest.Builder> creditSpecification) Defines CPU credit configuration for burstable instances.creditSpecification
(CreditSpecificationRequest creditSpecification) Defines CPU credit configuration for burstable instances.disableApiStop
(Boolean disableApiStop) Prevents API-initiated instance stop.ebsOptimized
(Boolean ebsOptimized) Enables optimized EBS performance.enablePrimaryIpv6
(Boolean enablePrimaryIpv6) Enables primary IPv6 address configuration.default ManagedInstanceRequest.Builder
enclaveOptions
(Consumer<EnclaveOptionsRequest.Builder> enclaveOptions) Configures AWS Nitro Enclave settings.enclaveOptions
(EnclaveOptionsRequest enclaveOptions) Configures AWS Nitro Enclave settings.default ManagedInstanceRequest.Builder
hibernationOptions
(Consumer<HibernationOptionsRequest.Builder> hibernationOptions) Configures instance hibernation capabilities.hibernationOptions
(HibernationOptionsRequest hibernationOptions) Configures instance hibernation capabilities.default ManagedInstanceRequest.Builder
iamInstanceProfile
(Consumer<IamInstanceProfileSpecification.Builder> iamInstanceProfile) Specifies IAM instance profile configuration.iamInstanceProfile
(IamInstanceProfileSpecification iamInstanceProfile) Specifies IAM instance profile configuration.Identifies the Amazon Machine Image (AMI) for the instance.default ManagedInstanceRequest.Builder
instanceMarketOptions
(Consumer<InstanceMarketOptionsRequest.Builder> instanceMarketOptions) Configures marketplace-specific deployment options.instanceMarketOptions
(InstanceMarketOptionsRequest instanceMarketOptions) Configures marketplace-specific deployment options.instanceType
(String instanceType) Specifies the WorkSpace Instance type.ipv6AddressCount
(Integer ipv6AddressCount) Specifies number of IPv6 addresses to assign.ipv6Addresses
(Collection<InstanceIpv6Address> ipv6Addresses) Configures specific IPv6 addresses.ipv6Addresses
(Consumer<InstanceIpv6Address.Builder>... ipv6Addresses) Configures specific IPv6 addresses.ipv6Addresses
(InstanceIpv6Address... ipv6Addresses) Configures specific IPv6 addresses.Identifies the kernel for the instance.Specifies the key pair for instance access.licenseSpecifications
(Collection<LicenseConfigurationRequest> licenseSpecifications) Configures license-related settings.licenseSpecifications
(Consumer<LicenseConfigurationRequest.Builder>... licenseSpecifications) Configures license-related settings.licenseSpecifications
(LicenseConfigurationRequest... licenseSpecifications) Configures license-related settings.default ManagedInstanceRequest.Builder
maintenanceOptions
(Consumer<InstanceMaintenanceOptionsRequest.Builder> maintenanceOptions) Defines automatic maintenance settings.maintenanceOptions
(InstanceMaintenanceOptionsRequest maintenanceOptions) Defines automatic maintenance settings.default ManagedInstanceRequest.Builder
metadataOptions
(Consumer<InstanceMetadataOptionsRequest.Builder> metadataOptions) Configures instance metadata service settings.metadataOptions
(InstanceMetadataOptionsRequest metadataOptions) Configures instance metadata service settings.default ManagedInstanceRequest.Builder
monitoring
(Consumer<RunInstancesMonitoringEnabled.Builder> monitoring) Enables or disables detailed instance monitoring.monitoring
(RunInstancesMonitoringEnabled monitoring) Enables or disables detailed instance monitoring.networkInterfaces
(Collection<InstanceNetworkInterfaceSpecification> networkInterfaces) Configures network interface settings.networkInterfaces
(Consumer<InstanceNetworkInterfaceSpecification.Builder>... networkInterfaces) Configures network interface settings.networkInterfaces
(InstanceNetworkInterfaceSpecification... networkInterfaces) Configures network interface settings.default ManagedInstanceRequest.Builder
networkPerformanceOptions
(Consumer<InstanceNetworkPerformanceOptionsRequest.Builder> networkPerformanceOptions) Defines network performance configuration.networkPerformanceOptions
(InstanceNetworkPerformanceOptionsRequest networkPerformanceOptions) Defines network performance configuration.default ManagedInstanceRequest.Builder
placement
(Consumer<Placement.Builder> placement) Specifies instance placement preferences.Specifies instance placement preferences.default ManagedInstanceRequest.Builder
privateDnsNameOptions
(Consumer<PrivateDnsNameOptionsRequest.Builder> privateDnsNameOptions) Configures private DNS name settings.privateDnsNameOptions
(PrivateDnsNameOptionsRequest privateDnsNameOptions) Configures private DNS name settings.privateIpAddress
(String privateIpAddress) Specifies the primary private IP address.Identifies the ramdisk for the instance.securityGroupIds
(String... securityGroupIds) Specifies security group identifiers.securityGroupIds
(Collection<String> securityGroupIds) Specifies security group identifiers.securityGroups
(String... securityGroups) Configures security group settings.securityGroups
(Collection<String> securityGroups) Configures security group settings.Identifies the subnet for the instance.tagSpecifications
(Collection<TagSpecification> tagSpecifications) Configures resource tagging specifications.tagSpecifications
(Consumer<TagSpecification.Builder>... tagSpecifications) Configures resource tagging specifications.tagSpecifications
(TagSpecification... tagSpecifications) Configures resource tagging specifications.Provides custom initialization data for the instance.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 Details
-
blockDeviceMappings
ManagedInstanceRequest.Builder blockDeviceMappings(Collection<BlockDeviceMappingRequest> blockDeviceMappings) Configures block device mappings for storage.
- Parameters:
blockDeviceMappings
- Configures block device mappings for storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
ManagedInstanceRequest.Builder blockDeviceMappings(BlockDeviceMappingRequest... blockDeviceMappings) Configures block device mappings for storage.
- Parameters:
blockDeviceMappings
- Configures block device mappings for storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
ManagedInstanceRequest.Builder blockDeviceMappings(Consumer<BlockDeviceMappingRequest.Builder>... blockDeviceMappings) Configures block device mappings for storage.
This is a convenience method that creates an instance of theBlockDeviceMappingRequest.Builder
avoiding the need to create one manually viaBlockDeviceMappingRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toblockDeviceMappings(List<BlockDeviceMappingRequest>)
.- Parameters:
blockDeviceMappings
- a consumer that will call methods onBlockDeviceMappingRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityReservationSpecification
ManagedInstanceRequest.Builder capacityReservationSpecification(CapacityReservationSpecification capacityReservationSpecification) Specifies capacity reservation preferences.
- Parameters:
capacityReservationSpecification
- Specifies capacity reservation preferences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationSpecification
default ManagedInstanceRequest.Builder capacityReservationSpecification(Consumer<CapacityReservationSpecification.Builder> capacityReservationSpecification) Specifies capacity reservation preferences.
This is a convenience method that creates an instance of theCapacityReservationSpecification.Builder
avoiding the need to create one manually viaCapacityReservationSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityReservationSpecification(CapacityReservationSpecification)
.- Parameters:
capacityReservationSpecification
- a consumer that will call methods onCapacityReservationSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cpuOptions
Configures CPU-specific settings.
- Parameters:
cpuOptions
- Configures CPU-specific settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuOptions
Configures CPU-specific settings.
This is a convenience method that creates an instance of theCpuOptionsRequest.Builder
avoiding the need to create one manually viaCpuOptionsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocpuOptions(CpuOptionsRequest)
.- Parameters:
cpuOptions
- a consumer that will call methods onCpuOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creditSpecification
Defines CPU credit configuration for burstable instances.
- Parameters:
creditSpecification
- Defines CPU credit configuration for burstable instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creditSpecification
default ManagedInstanceRequest.Builder creditSpecification(Consumer<CreditSpecificationRequest.Builder> creditSpecification) Defines CPU credit configuration for burstable instances.
This is a convenience method that creates an instance of theCreditSpecificationRequest.Builder
avoiding the need to create one manually viaCreditSpecificationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreditSpecification(CreditSpecificationRequest)
.- Parameters:
creditSpecification
- a consumer that will call methods onCreditSpecificationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disableApiStop
Prevents API-initiated instance stop.
- Parameters:
disableApiStop
- Prevents API-initiated instance stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsOptimized
Enables optimized EBS performance.
- Parameters:
ebsOptimized
- Enables optimized EBS performance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enablePrimaryIpv6
Enables primary IPv6 address configuration.
- Parameters:
enablePrimaryIpv6
- Enables primary IPv6 address configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enclaveOptions
Configures AWS Nitro Enclave settings.
- Parameters:
enclaveOptions
- Configures AWS Nitro Enclave settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enclaveOptions
default ManagedInstanceRequest.Builder enclaveOptions(Consumer<EnclaveOptionsRequest.Builder> enclaveOptions) Configures AWS Nitro Enclave settings.
This is a convenience method that creates an instance of theEnclaveOptionsRequest.Builder
avoiding the need to create one manually viaEnclaveOptionsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenclaveOptions(EnclaveOptionsRequest)
.- Parameters:
enclaveOptions
- a consumer that will call methods onEnclaveOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hibernationOptions
Configures instance hibernation capabilities.
- Parameters:
hibernationOptions
- Configures instance hibernation capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hibernationOptions
default ManagedInstanceRequest.Builder hibernationOptions(Consumer<HibernationOptionsRequest.Builder> hibernationOptions) Configures instance hibernation capabilities.
This is a convenience method that creates an instance of theHibernationOptionsRequest.Builder
avoiding the need to create one manually viaHibernationOptionsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohibernationOptions(HibernationOptionsRequest)
.- Parameters:
hibernationOptions
- a consumer that will call methods onHibernationOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iamInstanceProfile
ManagedInstanceRequest.Builder iamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile) Specifies IAM instance profile configuration.
- Parameters:
iamInstanceProfile
- Specifies IAM instance profile configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamInstanceProfile
default ManagedInstanceRequest.Builder iamInstanceProfile(Consumer<IamInstanceProfileSpecification.Builder> iamInstanceProfile) Specifies IAM instance profile configuration.
This is a convenience method that creates an instance of theIamInstanceProfileSpecification.Builder
avoiding the need to create one manually viaIamInstanceProfileSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiamInstanceProfile(IamInstanceProfileSpecification)
.- Parameters:
iamInstanceProfile
- a consumer that will call methods onIamInstanceProfileSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageId
Identifies the Amazon Machine Image (AMI) for the instance.
- Parameters:
imageId
- Identifies the Amazon Machine Image (AMI) for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMarketOptions
ManagedInstanceRequest.Builder instanceMarketOptions(InstanceMarketOptionsRequest instanceMarketOptions) Configures marketplace-specific deployment options.
- Parameters:
instanceMarketOptions
- Configures marketplace-specific deployment options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMarketOptions
default ManagedInstanceRequest.Builder instanceMarketOptions(Consumer<InstanceMarketOptionsRequest.Builder> instanceMarketOptions) Configures marketplace-specific deployment options.
This is a convenience method that creates an instance of theInstanceMarketOptionsRequest.Builder
avoiding the need to create one manually viaInstanceMarketOptionsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceMarketOptions(InstanceMarketOptionsRequest)
.- Parameters:
instanceMarketOptions
- a consumer that will call methods onInstanceMarketOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
Specifies the WorkSpace Instance type.
- Parameters:
instanceType
- Specifies the WorkSpace Instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6Addresses
Configures specific IPv6 addresses.
- Parameters:
ipv6Addresses
- Configures specific IPv6 addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6Addresses
Configures specific IPv6 addresses.
- Parameters:
ipv6Addresses
- Configures specific IPv6 addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6Addresses
ManagedInstanceRequest.Builder ipv6Addresses(Consumer<InstanceIpv6Address.Builder>... ipv6Addresses) Configures specific IPv6 addresses.
This is a convenience method that creates an instance of theInstanceIpv6Address.Builder
avoiding the need to create one manually viaInstanceIpv6Address.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipv6Addresses(List<InstanceIpv6Address>)
.- Parameters:
ipv6Addresses
- a consumer that will call methods onInstanceIpv6Address.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipv6AddressCount
Specifies number of IPv6 addresses to assign.
- Parameters:
ipv6AddressCount
- Specifies number of IPv6 addresses to assign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kernelId
Identifies the kernel for the instance.
- Parameters:
kernelId
- Identifies the kernel for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyName
Specifies the key pair for instance access.
- Parameters:
keyName
- Specifies the key pair for instance access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseSpecifications
ManagedInstanceRequest.Builder licenseSpecifications(Collection<LicenseConfigurationRequest> licenseSpecifications) Configures license-related settings.
- Parameters:
licenseSpecifications
- Configures license-related settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseSpecifications
ManagedInstanceRequest.Builder licenseSpecifications(LicenseConfigurationRequest... licenseSpecifications) Configures license-related settings.
- Parameters:
licenseSpecifications
- Configures license-related settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseSpecifications
ManagedInstanceRequest.Builder licenseSpecifications(Consumer<LicenseConfigurationRequest.Builder>... licenseSpecifications) Configures license-related settings.
This is a convenience method that creates an instance of theLicenseConfigurationRequest.Builder
avoiding the need to create one manually viaLicenseConfigurationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolicenseSpecifications(List<LicenseConfigurationRequest>)
.- Parameters:
licenseSpecifications
- a consumer that will call methods onLicenseConfigurationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenanceOptions
ManagedInstanceRequest.Builder maintenanceOptions(InstanceMaintenanceOptionsRequest maintenanceOptions) Defines automatic maintenance settings.
- Parameters:
maintenanceOptions
- Defines automatic maintenance settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceOptions
default ManagedInstanceRequest.Builder maintenanceOptions(Consumer<InstanceMaintenanceOptionsRequest.Builder> maintenanceOptions) Defines automatic maintenance settings.
This is a convenience method that creates an instance of theInstanceMaintenanceOptionsRequest.Builder
avoiding the need to create one manually viaInstanceMaintenanceOptionsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenanceOptions(InstanceMaintenanceOptionsRequest)
.- Parameters:
maintenanceOptions
- a consumer that will call methods onInstanceMaintenanceOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadataOptions
Configures instance metadata service settings.
- Parameters:
metadataOptions
- Configures instance metadata service settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataOptions
default ManagedInstanceRequest.Builder metadataOptions(Consumer<InstanceMetadataOptionsRequest.Builder> metadataOptions) Configures instance metadata service settings.
This is a convenience method that creates an instance of theInstanceMetadataOptionsRequest.Builder
avoiding the need to create one manually viaInstanceMetadataOptionsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataOptions(InstanceMetadataOptionsRequest)
.- Parameters:
metadataOptions
- a consumer that will call methods onInstanceMetadataOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoring
Enables or disables detailed instance monitoring.
- Parameters:
monitoring
- Enables or disables detailed instance monitoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoring
default ManagedInstanceRequest.Builder monitoring(Consumer<RunInstancesMonitoringEnabled.Builder> monitoring) Enables or disables detailed instance monitoring.
This is a convenience method that creates an instance of theRunInstancesMonitoringEnabled.Builder
avoiding the need to create one manually viaRunInstancesMonitoringEnabled.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoring(RunInstancesMonitoringEnabled)
.- Parameters:
monitoring
- a consumer that will call methods onRunInstancesMonitoringEnabled.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkInterfaces
ManagedInstanceRequest.Builder networkInterfaces(Collection<InstanceNetworkInterfaceSpecification> networkInterfaces) Configures network interface settings.
- Parameters:
networkInterfaces
- Configures network interface settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
ManagedInstanceRequest.Builder networkInterfaces(InstanceNetworkInterfaceSpecification... networkInterfaces) Configures network interface settings.
- Parameters:
networkInterfaces
- Configures network interface settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
ManagedInstanceRequest.Builder networkInterfaces(Consumer<InstanceNetworkInterfaceSpecification.Builder>... networkInterfaces) Configures network interface settings.
This is a convenience method that creates an instance of theInstanceNetworkInterfaceSpecification.Builder
avoiding the need to create one manually viaInstanceNetworkInterfaceSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkInterfaces(List<InstanceNetworkInterfaceSpecification>)
.- Parameters:
networkInterfaces
- a consumer that will call methods onInstanceNetworkInterfaceSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkPerformanceOptions
ManagedInstanceRequest.Builder networkPerformanceOptions(InstanceNetworkPerformanceOptionsRequest networkPerformanceOptions) Defines network performance configuration.
- Parameters:
networkPerformanceOptions
- Defines network performance configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkPerformanceOptions
default ManagedInstanceRequest.Builder networkPerformanceOptions(Consumer<InstanceNetworkPerformanceOptionsRequest.Builder> networkPerformanceOptions) Defines network performance configuration.
This is a convenience method that creates an instance of theInstanceNetworkPerformanceOptionsRequest.Builder
avoiding the need to create one manually viaInstanceNetworkPerformanceOptionsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkPerformanceOptions(InstanceNetworkPerformanceOptionsRequest)
.- Parameters:
networkPerformanceOptions
- a consumer that will call methods onInstanceNetworkPerformanceOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
placement
Specifies instance placement preferences.
- Parameters:
placement
- Specifies instance placement preferences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placement
Specifies instance placement preferences.
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:
-
privateDnsNameOptions
ManagedInstanceRequest.Builder privateDnsNameOptions(PrivateDnsNameOptionsRequest privateDnsNameOptions) Configures private DNS name settings.
- Parameters:
privateDnsNameOptions
- Configures private DNS name settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsNameOptions
default ManagedInstanceRequest.Builder privateDnsNameOptions(Consumer<PrivateDnsNameOptionsRequest.Builder> privateDnsNameOptions) Configures private DNS name settings.
This is a convenience method that creates an instance of thePrivateDnsNameOptionsRequest.Builder
avoiding the need to create one manually viaPrivateDnsNameOptionsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprivateDnsNameOptions(PrivateDnsNameOptionsRequest)
.- Parameters:
privateDnsNameOptions
- a consumer that will call methods onPrivateDnsNameOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateIpAddress
Specifies the primary private IP address.
- Parameters:
privateIpAddress
- Specifies the primary private IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ramdiskId
Identifies the ramdisk for the instance.
- Parameters:
ramdiskId
- Identifies the ramdisk for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
Specifies security group identifiers.
- Parameters:
securityGroupIds
- Specifies security group identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
Specifies security group identifiers.
- Parameters:
securityGroupIds
- Specifies security group identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
Configures security group settings.
- Parameters:
securityGroups
- Configures security group settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
Configures security group settings.
- Parameters:
securityGroups
- Configures security group settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
Identifies the subnet for the instance.
- Parameters:
subnetId
- Identifies the subnet for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
Configures resource tagging specifications.
- Parameters:
tagSpecifications
- Configures resource tagging specifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
Configures resource tagging specifications.
- Parameters:
tagSpecifications
- Configures resource tagging specifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
ManagedInstanceRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) Configures resource tagging specifications.
This is a convenience method that creates an instance of theTagSpecification.Builder
avoiding the need to create one manually viaTagSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagSpecifications(List<TagSpecification>)
.- Parameters:
tagSpecifications
- a consumer that will call methods onTagSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userData
Provides custom initialization data for the instance.
- Parameters:
userData
- Provides custom initialization data for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-