E2eeAccountKeyInfo.Builder


public final class E2eeAccountKeyInfo.Builder


Builder class for E2eeAccountKeyInfo.

Summary

Public constructors

Creates a new builder for E2eeAccountKeyInfo.

Creates a new builder for E2eeAccountKeyInfo.

Public methods

E2eeAccountKeyInfo

Builds the E2eeAccountKeyInfo.

E2eeAccountKeyInfo.Builder

Sets the accountId of the key of the key that should be updated.

E2eeAccountKeyInfo.Builder

Sets the contact infos that will be associated with the key when processing the update.

E2eeAccountKeyInfo.Builder

Sets the device ID of the key that should be updated.

E2eeAccountKeyInfo.Builder

Sets the new keyValue that will be associated with the key when processing the update.

Public constructors

Builder

public Builder()

Creates a new builder for E2eeAccountKeyInfo.

Builder

public Builder(E2eeAccountKeyInfo origin)

Creates a new builder for E2eeAccountKeyInfo.

Public methods

build

public E2eeAccountKeyInfo build()

Builds the E2eeAccountKeyInfo.

setAccountId

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

Sets the accountId of the key of the key that should be updated.

setContactInfos

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

Sets the contact infos that will be associated with the key when processing the update.

setDeviceId

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

Sets the device ID of the key that should be updated.

setKeyValue

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

Sets the new keyValue that will be associated with the key when processing the update.