E2eeAccountKeyInfo.Builder


public final class E2eeAccountKeyInfo.Builder


E2eeAccountKeyInfo 的建構工具類別。

摘要

公用建構函式

針對 E2eeAccountKeyInfo 建立新的建構工具。

針對 E2eeAccountKeyInfo 建立新的建構工具。

公用方法

E2eeAccountKeyInfo

建構 E2eeAccountKeyInfo

E2eeAccountKeyInfo.Builder

設定要更新的金鑰的 accountId

E2eeAccountKeyInfo.Builder

設定處理更新時與金鑰相關聯的 contact infos

E2eeAccountKeyInfo.Builder

設定要更新的金鑰 device ID

E2eeAccountKeyInfo.Builder

設定處理更新時要與金鑰建立關聯的新 keyValue

公用建構函式

Builder

public Builder()

針對 E2eeAccountKeyInfo 建立新的建構工具。

Builder

public Builder(E2eeAccountKeyInfo origin)

針對 E2eeAccountKeyInfo 建立新的建構工具。

公用方法

build

public E2eeAccountKeyInfo build()

建構 E2eeAccountKeyInfo

setAccountId

@CanIgnoreReturnValue
public E2eeAccountKeyInfo.Builder setAccountId(@NonNull String accountId)

設定要更新的金鑰的 accountId

setContactInfos

@CanIgnoreReturnValue
public E2eeAccountKeyInfo.Builder setContactInfos(@NonNull List<ContactInfoParcelable> contactInfos)

設定處理更新時與金鑰相關聯的 contact infos

setDeviceId

@CanIgnoreReturnValue
public E2eeAccountKeyInfo.Builder setDeviceId(@NonNull String deviceId)

設定要更新的金鑰 device ID

setKeyValue

@CanIgnoreReturnValue
public E2eeAccountKeyInfo.Builder setKeyValue(@NonNull byte[] keyValue)

設定處理更新時要與金鑰建立關聯的新 keyValue