Interface UpdateUserSettingsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateUserSettingsRequest.Builder,UpdateUserSettingsRequest>, SdkBuilder<UpdateUserSettingsRequest.Builder,UpdateUserSettingsRequest>, SdkPojo, SdkRequest.Builder, WorkSpacesWebRequest.Builder
Enclosing class:
UpdateUserSettingsRequest

public static interface UpdateUserSettingsRequest.Builder extends WorkSpacesWebRequest.Builder, SdkPojo, CopyableBuilder<UpdateUserSettingsRequest.Builder,UpdateUserSettingsRequest>
  • Method Details

    • clientToken

      UpdateUserSettingsRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request.

      If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request.

      If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cookieSynchronizationConfiguration

      UpdateUserSettingsRequest.Builder cookieSynchronizationConfiguration(CookieSynchronizationConfiguration cookieSynchronizationConfiguration)

      The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.

      If the allowlist and blocklist are empty, the configuration becomes null.

      Parameters:
      cookieSynchronizationConfiguration - The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.

      If the allowlist and blocklist are empty, the configuration becomes null.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cookieSynchronizationConfiguration

      default UpdateUserSettingsRequest.Builder cookieSynchronizationConfiguration(Consumer<CookieSynchronizationConfiguration.Builder> cookieSynchronizationConfiguration)

      The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.

      If the allowlist and blocklist are empty, the configuration becomes null.

      This is a convenience method that creates an instance of the CookieSynchronizationConfiguration.Builder avoiding the need to create one manually via CookieSynchronizationConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cookieSynchronizationConfiguration(CookieSynchronizationConfiguration).

      Parameters:
      cookieSynchronizationConfiguration - a consumer that will call methods on CookieSynchronizationConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • copyAllowed

      UpdateUserSettingsRequest.Builder copyAllowed(String copyAllowed)

      Specifies whether the user can copy text from the streaming session to the local device.

      Parameters:
      copyAllowed - Specifies whether the user can copy text from the streaming session to the local device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • copyAllowed

      Specifies whether the user can copy text from the streaming session to the local device.

      Parameters:
      copyAllowed - Specifies whether the user can copy text from the streaming session to the local device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • disconnectTimeoutInMinutes

      UpdateUserSettingsRequest.Builder disconnectTimeoutInMinutes(Integer disconnectTimeoutInMinutes)

      The amount of time that a streaming session remains active after users disconnect.

      Parameters:
      disconnectTimeoutInMinutes - The amount of time that a streaming session remains active after users disconnect.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • downloadAllowed

      UpdateUserSettingsRequest.Builder downloadAllowed(String downloadAllowed)

      Specifies whether the user can download files from the streaming session to the local device.

      Parameters:
      downloadAllowed - Specifies whether the user can download files from the streaming session to the local device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • downloadAllowed

      UpdateUserSettingsRequest.Builder downloadAllowed(EnabledType downloadAllowed)

      Specifies whether the user can download files from the streaming session to the local device.

      Parameters:
      downloadAllowed - Specifies whether the user can download files from the streaming session to the local device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • idleDisconnectTimeoutInMinutes

      UpdateUserSettingsRequest.Builder idleDisconnectTimeoutInMinutes(Integer idleDisconnectTimeoutInMinutes)

      The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.

      Parameters:
      idleDisconnectTimeoutInMinutes - The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pasteAllowed

      UpdateUserSettingsRequest.Builder pasteAllowed(String pasteAllowed)

      Specifies whether the user can paste text from the local device to the streaming session.

      Parameters:
      pasteAllowed - Specifies whether the user can paste text from the local device to the streaming session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pasteAllowed

      UpdateUserSettingsRequest.Builder pasteAllowed(EnabledType pasteAllowed)

      Specifies whether the user can paste text from the local device to the streaming session.

      Parameters:
      pasteAllowed - Specifies whether the user can paste text from the local device to the streaming session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • printAllowed

      UpdateUserSettingsRequest.Builder printAllowed(String printAllowed)

      Specifies whether the user can print to the local device.

      Parameters:
      printAllowed - Specifies whether the user can print to the local device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • printAllowed

      UpdateUserSettingsRequest.Builder printAllowed(EnabledType printAllowed)

      Specifies whether the user can print to the local device.

      Parameters:
      printAllowed - Specifies whether the user can print to the local device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • uploadAllowed

      UpdateUserSettingsRequest.Builder uploadAllowed(String uploadAllowed)

      Specifies whether the user can upload files from the local device to the streaming session.

      Parameters:
      uploadAllowed - Specifies whether the user can upload files from the local device to the streaming session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • uploadAllowed

      UpdateUserSettingsRequest.Builder uploadAllowed(EnabledType uploadAllowed)

      Specifies whether the user can upload files from the local device to the streaming session.

      Parameters:
      uploadAllowed - Specifies whether the user can upload files from the local device to the streaming session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userSettingsArn

      UpdateUserSettingsRequest.Builder userSettingsArn(String userSettingsArn)

      The ARN of the user settings.

      Parameters:
      userSettingsArn - The ARN of the user settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateUserSettingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.