Interface InstanceConfig.Builder

  • Method Details

    • connectInstanceId

      InstanceConfig.Builder connectInstanceId(String connectInstanceId)
      Sets the value of the ConnectInstanceId property for this object.
      Parameters:
      connectInstanceId - The new value for the ConnectInstanceId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceLinkedRoleArn

      InstanceConfig.Builder serviceLinkedRoleArn(String serviceLinkedRoleArn)
      Sets the value of the ServiceLinkedRoleArn property for this object.
      Parameters:
      serviceLinkedRoleArn - The new value for the ServiceLinkedRoleArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfig

      InstanceConfig.Builder encryptionConfig(EncryptionConfig encryptionConfig)
      Sets the value of the EncryptionConfig property for this object.
      Parameters:
      encryptionConfig - The new value for the EncryptionConfig property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfig

      default InstanceConfig.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)
      Sets the value of the EncryptionConfig property for this object. This is a convenience method that creates an instance of the EncryptionConfig.Builder avoiding the need to create one manually via EncryptionConfig.builder().

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

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