public static final class UpdateCustomAuthIdentityRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateCustomAuthIdentityRequest |
build() |
UpdateCustomAuthIdentityRequest.Builder |
clientId(String clientId)
The client ID if you set IdentityType to CLIENT.
|
UpdateCustomAuthIdentityRequest.Builder |
identityType(String identityType)
The identity type.
|
UpdateCustomAuthIdentityRequest.Builder |
instanceId(String instanceId)
The ID of the ApsaraMQ for MQTT instance.
|
UpdateCustomAuthIdentityRequest.Builder |
secret(String secret)
The AccessKey secret.
|
UpdateCustomAuthIdentityRequest.Builder |
signMode(String signMode)
The signature verification mode.
|
UpdateCustomAuthIdentityRequest.Builder |
username(String username)
The username.
|
public UpdateCustomAuthIdentityRequest.Builder clientId(String clientId)
The client ID if you set IdentityType to CLIENT.
example:GID_test@@@test
public UpdateCustomAuthIdentityRequest.Builder identityType(String identityType)
The identity type. Valid values:
This parameter is required.
example:USER
public UpdateCustomAuthIdentityRequest.Builder instanceId(String instanceId)
The ID of the ApsaraMQ for MQTT instance.
This parameter is required.
example:post-111****
public UpdateCustomAuthIdentityRequest.Builder secret(String secret)
The AccessKey secret.
This parameter is required.
example:xxxx
public UpdateCustomAuthIdentityRequest.Builder signMode(String signMode)
The signature verification mode. ORIGIN: compares the password and the AccessKey secret. SIGNED: uses the HMAC_SHA1 algorithm to sign the client ID to obtain a password and then compares the password.
This parameter is required.
example:SIGNED
public UpdateCustomAuthIdentityRequest.Builder username(String username)
The username. The value cannot exceed 64 characters in length.
This parameter is required.
example:test
public UpdateCustomAuthIdentityRequest build()
Copyright © 2025. All rights reserved.