Class ManagedInstanceRequest
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<ManagedInstanceRequest.Builder,- ManagedInstanceRequest> 
Defines comprehensive configuration for a managed WorkSpace Instance.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier 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.ToCopyableBuildercopy
- 
Method Details- 
hasBlockDeviceMappingspublic 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.
- 
blockDeviceMappingsConfigures 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.
 
- 
capacityReservationSpecificationSpecifies capacity reservation preferences. - Returns:
- Specifies capacity reservation preferences.
 
- 
cpuOptionsConfigures CPU-specific settings. - Returns:
- Configures CPU-specific settings.
 
- 
creditSpecificationDefines CPU credit configuration for burstable instances. - Returns:
- Defines CPU credit configuration for burstable instances.
 
- 
disableApiStopPrevents API-initiated instance stop. - Returns:
- Prevents API-initiated instance stop.
 
- 
ebsOptimizedEnables optimized EBS performance. - Returns:
- Enables optimized EBS performance.
 
- 
enablePrimaryIpv6Enables primary IPv6 address configuration. - Returns:
- Enables primary IPv6 address configuration.
 
- 
enclaveOptionsConfigures AWS Nitro Enclave settings. - Returns:
- Configures AWS Nitro Enclave settings.
 
- 
hibernationOptionsConfigures instance hibernation capabilities. - Returns:
- Configures instance hibernation capabilities.
 
- 
iamInstanceProfileSpecifies IAM instance profile configuration. - Returns:
- Specifies IAM instance profile configuration.
 
- 
imageIdIdentifies the Amazon Machine Image (AMI) for the instance. - Returns:
- Identifies the Amazon Machine Image (AMI) for the instance.
 
- 
instanceMarketOptionsConfigures marketplace-specific deployment options. - Returns:
- Configures marketplace-specific deployment options.
 
- 
instanceTypeSpecifies the WorkSpace Instance type. - Returns:
- Specifies the WorkSpace Instance type.
 
- 
hasIpv6Addressespublic 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.
- 
ipv6AddressesConfigures 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.
 
- 
ipv6AddressCountSpecifies number of IPv6 addresses to assign. - Returns:
- Specifies number of IPv6 addresses to assign.
 
- 
kernelIdIdentifies the kernel for the instance. - Returns:
- Identifies the kernel for the instance.
 
- 
keyNameSpecifies the key pair for instance access. - Returns:
- Specifies the key pair for instance access.
 
- 
hasLicenseSpecificationspublic 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.
- 
licenseSpecificationsConfigures 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.
 
- 
maintenanceOptionsDefines automatic maintenance settings. - Returns:
- Defines automatic maintenance settings.
 
- 
metadataOptionsConfigures instance metadata service settings. - Returns:
- Configures instance metadata service settings.
 
- 
monitoringEnables or disables detailed instance monitoring. - Returns:
- Enables or disables detailed instance monitoring.
 
- 
hasNetworkInterfacespublic 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.
- 
networkInterfacesConfigures 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.
 
- 
networkPerformanceOptionsDefines network performance configuration. - Returns:
- Defines network performance configuration.
 
- 
placementSpecifies instance placement preferences. - Returns:
- Specifies instance placement preferences.
 
- 
privateDnsNameOptionsConfigures private DNS name settings. - Returns:
- Configures private DNS name settings.
 
- 
privateIpAddressSpecifies the primary private IP address. - Returns:
- Specifies the primary private IP address.
 
- 
ramdiskIdIdentifies the ramdisk for the instance. - Returns:
- Identifies the ramdisk for the instance.
 
- 
hasSecurityGroupIdspublic 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.
- 
securityGroupIdsSpecifies 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.
 
- 
hasSecurityGroupspublic 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.
- 
securityGroupsConfigures 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.
 
- 
subnetIdIdentifies the subnet for the instance. - Returns:
- Identifies the subnet for the instance.
 
- 
hasTagSpecificationspublic 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.
- 
tagSpecificationsConfigures 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.
 
- 
userDataProvides custom initialization data for the instance. - Returns:
- Provides custom initialization data for the instance.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<ManagedInstanceRequest.Builder,- ManagedInstanceRequest> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription 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 interface- SdkPojo
- 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 interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-