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 CpuOptionsRequest
Configures CPU-specific settings.Defines CPU credit configuration for burstable instances.final Boolean
Prevents API-initiated instance stop.final Boolean
Enables optimized EBS performance.final Boolean
Enables primary IPv6 address configuration.final EnclaveOptionsRequest
Configures AWS Nitro Enclave settings.final boolean
final boolean
equalsBySdkFields
(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 boolean
For responses, this returns true if the service returned a value for the BlockDeviceMappings property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the Ipv6Addresses property.final boolean
For responses, this returns true if the service returned a value for the LicenseSpecifications property.final boolean
For responses, this returns true if the service returned a value for the NetworkInterfaces property.final boolean
For responses, this returns true if the service returned a value for the SecurityGroupIds property.final boolean
For responses, this returns true if the service returned a value for the SecurityGroups property.final boolean
For responses, this returns true if the service returned a value for the TagSpecifications property.Configures instance hibernation capabilities.Specifies IAM instance profile configuration.final String
imageId()
Identifies the Amazon Machine Image (AMI) for the instance.Configures marketplace-specific deployment options.final String
Specifies the WorkSpace Instance type.final Integer
Specifies number of IPv6 addresses to assign.final List
<InstanceIpv6Address> Configures specific IPv6 addresses.final String
kernelId()
Identifies the kernel for the instance.final String
keyName()
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 Placement
Specifies instance placement preferences.Configures private DNS name settings.final String
Specifies the primary private IP address.final String
Identifies the ramdisk for the instance.Specifies security group identifiers.Configures security group settings.static Class
<? extends ManagedInstanceRequest.Builder> final String
subnetId()
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 String
toString()
Returns a string representation of this object.final String
userData()
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ManagedInstanceRequest.Builder,
ManagedInstanceRequest> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-