Class ManagedInstanceRequest
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ManagedInstanceRequest.Builder,ManagedInstanceRequest>
Defines comprehensive configuration for a managed WorkSpace Instance.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal List<BlockDeviceMappingRequest> Configures block device mappings for storage.builder()Specifies capacity reservation preferences.final CpuOptionsRequestConfigures CPU-specific settings.Defines CPU credit configuration for burstable instances.final BooleanPrevents API-initiated instance stop.final BooleanEnables optimized EBS performance.final BooleanEnables primary IPv6 address configuration.final EnclaveOptionsRequestConfigures AWS Nitro Enclave settings.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the BlockDeviceMappings property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the Ipv6Addresses property.final booleanFor responses, this returns true if the service returned a value for the LicenseSpecifications property.final booleanFor responses, this returns true if the service returned a value for the NetworkInterfaces property.final booleanFor responses, this returns true if the service returned a value for the SecurityGroupIds property.final booleanFor responses, this returns true if the service returned a value for the SecurityGroups property.final booleanFor responses, this returns true if the service returned a value for the TagSpecifications property.Configures instance hibernation capabilities.Specifies IAM instance profile configuration.final StringimageId()Identifies the Amazon Machine Image (AMI) for the instance.Configures marketplace-specific deployment options.final StringSpecifies the WorkSpace Instance type.final IntegerSpecifies number of IPv6 addresses to assign.final List<InstanceIpv6Address> Configures specific IPv6 addresses.final StringkernelId()Identifies the kernel for the instance.final StringkeyName()Specifies the key pair for instance access.final List<LicenseConfigurationRequest> Configures license-related settings.Defines automatic maintenance settings.Configures instance metadata service settings.Enables or disables detailed instance monitoring.Configures network interface settings.Defines network performance configuration.final PlacementSpecifies instance placement preferences.Configures private DNS name settings.final StringSpecifies the primary private IP address.final StringIdentifies the ramdisk for the instance.Specifies security group identifiers.Configures security group settings.static Class<? extends ManagedInstanceRequest.Builder> final StringsubnetId()Identifies the subnet for the instance.final List<TagSpecification> Configures resource tagging specifications.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringuserData()Provides custom initialization data for the instance.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
hasBlockDeviceMappings
public final boolean hasBlockDeviceMappings()For responses, this returns true if the service returned a value for the BlockDeviceMappings property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
blockDeviceMappings
Configures block device mappings for storage.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasBlockDeviceMappings()method.- Returns:
- Configures block device mappings for storage.
-
capacityReservationSpecification
Specifies capacity reservation preferences.
- Returns:
- Specifies capacity reservation preferences.
-
cpuOptions
Configures CPU-specific settings.
- Returns:
- Configures CPU-specific settings.
-
creditSpecification
Defines CPU credit configuration for burstable instances.
- Returns:
- Defines CPU credit configuration for burstable instances.
-
disableApiStop
Prevents API-initiated instance stop.
- Returns:
- Prevents API-initiated instance stop.
-
ebsOptimized
Enables optimized EBS performance.
- Returns:
- Enables optimized EBS performance.
-
enablePrimaryIpv6
Enables primary IPv6 address configuration.
- Returns:
- Enables primary IPv6 address configuration.
-
enclaveOptions
Configures AWS Nitro Enclave settings.
- Returns:
- Configures AWS Nitro Enclave settings.
-
hibernationOptions
Configures instance hibernation capabilities.
- Returns:
- Configures instance hibernation capabilities.
-
iamInstanceProfile
Specifies IAM instance profile configuration.
- Returns:
- Specifies IAM instance profile configuration.
-
imageId
Identifies the Amazon Machine Image (AMI) for the instance.
- Returns:
- Identifies the Amazon Machine Image (AMI) for the instance.
-
instanceMarketOptions
Configures marketplace-specific deployment options.
- Returns:
- Configures marketplace-specific deployment options.
-
instanceType
Specifies the WorkSpace Instance type.
- Returns:
- Specifies the WorkSpace Instance type.
-
hasIpv6Addresses
public final boolean hasIpv6Addresses()For responses, this returns true if the service returned a value for the Ipv6Addresses property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
ipv6Addresses
Configures specific IPv6 addresses.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasIpv6Addresses()method.- Returns:
- Configures specific IPv6 addresses.
-
ipv6AddressCount
Specifies number of IPv6 addresses to assign.
- Returns:
- Specifies number of IPv6 addresses to assign.
-
kernelId
Identifies the kernel for the instance.
- Returns:
- Identifies the kernel for the instance.
-
keyName
Specifies the key pair for instance access.
- Returns:
- Specifies the key pair for instance access.
-
hasLicenseSpecifications
public final boolean hasLicenseSpecifications()For responses, this returns true if the service returned a value for the LicenseSpecifications property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
licenseSpecifications
Configures license-related settings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasLicenseSpecifications()method.- Returns:
- Configures license-related settings.
-
maintenanceOptions
Defines automatic maintenance settings.
- Returns:
- Defines automatic maintenance settings.
-
metadataOptions
Configures instance metadata service settings.
- Returns:
- Configures instance metadata service settings.
-
monitoring
Enables or disables detailed instance monitoring.
- Returns:
- Enables or disables detailed instance monitoring.
-
hasNetworkInterfaces
public final boolean hasNetworkInterfaces()For responses, this returns true if the service returned a value for the NetworkInterfaces property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
networkInterfaces
Configures network interface settings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasNetworkInterfaces()method.- Returns:
- Configures network interface settings.
-
networkPerformanceOptions
Defines network performance configuration.
- Returns:
- Defines network performance configuration.
-
placement
Specifies instance placement preferences.
- Returns:
- Specifies instance placement preferences.
-
privateDnsNameOptions
Configures private DNS name settings.
- Returns:
- Configures private DNS name settings.
-
privateIpAddress
Specifies the primary private IP address.
- Returns:
- Specifies the primary private IP address.
-
ramdiskId
Identifies the ramdisk for the instance.
- Returns:
- Identifies the ramdisk for the instance.
-
hasSecurityGroupIds
public final boolean hasSecurityGroupIds()For responses, this returns true if the service returned a value for the SecurityGroupIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
securityGroupIds
Specifies security group identifiers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSecurityGroupIds()method.- Returns:
- Specifies security group identifiers.
-
hasSecurityGroups
public final boolean hasSecurityGroups()For responses, this returns true if the service returned a value for the SecurityGroups property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
securityGroups
Configures security group settings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSecurityGroups()method.- Returns:
- Configures security group settings.
-
subnetId
Identifies the subnet for the instance.
- Returns:
- Identifies the subnet for the instance.
-
hasTagSpecifications
public final boolean hasTagSpecifications()For responses, this returns true if the service returned a value for the TagSpecifications property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
tagSpecifications
Configures resource tagging specifications.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTagSpecifications()method.- Returns:
- Configures resource tagging specifications.
-
userData
Provides custom initialization data for the instance.
- Returns:
- Provides custom initialization data for the instance.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ManagedInstanceRequest.Builder,ManagedInstanceRequest> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-