Interface CreateBrowserRequest.Builder

  • Method Details

    • name

      The name of the browser. The name must be unique within your account.

      Parameters:
      name - The name of the browser. The name must be unique within your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateBrowserRequest.Builder description(String description)

      The description of the browser.

      Parameters:
      description - The description of the browser.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionRoleArn

      CreateBrowserRequest.Builder executionRoleArn(String executionRoleArn)

      The Amazon Resource Name (ARN) of the IAM role that provides permissions for the browser to access Amazon Web Services services.

      Parameters:
      executionRoleArn - The Amazon Resource Name (ARN) of the IAM role that provides permissions for the browser to access Amazon Web Services services.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkConfiguration

      CreateBrowserRequest.Builder networkConfiguration(BrowserNetworkConfiguration networkConfiguration)

      The network configuration for the browser. This configuration specifies the network mode for the browser.

      Parameters:
      networkConfiguration - The network configuration for the browser. This configuration specifies the network mode for the browser.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkConfiguration

      default CreateBrowserRequest.Builder networkConfiguration(Consumer<BrowserNetworkConfiguration.Builder> networkConfiguration)

      The network configuration for the browser. This configuration specifies the network mode for the browser.

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

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

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

      The recording configuration for the browser. When enabled, browser sessions are recorded and stored in the specified Amazon S3 location.

      Parameters:
      recording - The recording configuration for the browser. When enabled, browser sessions are recorded and stored in the specified Amazon S3 location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recording

      The recording configuration for the browser. When enabled, browser sessions are recorded and stored in the specified Amazon S3 location.

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

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

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

      CreateBrowserRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A map of tag keys and values to assign to the browser. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.

      Parameters:
      tags - A map of tag keys and values to assign to the browser. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateBrowserRequest.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.