public static final class QueryCustomAuthIdentityRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
QueryCustomAuthIdentityRequest |
build() |
QueryCustomAuthIdentityRequest.Builder |
clientId(String clientId)
The client ID if you set IdentityType to CLIENT.
|
QueryCustomAuthIdentityRequest.Builder |
identityType(String identityType)
The identity type.
|
QueryCustomAuthIdentityRequest.Builder |
instanceId(String instanceId)
The ID of the ApsaraMQ for MQTT instance.
|
QueryCustomAuthIdentityRequest.Builder |
nextToken(String nextToken)
The token that marks the end position of the previous returned page.
|
QueryCustomAuthIdentityRequest.Builder |
size(Integer size)
The number of identities to be queried.
|
QueryCustomAuthIdentityRequest.Builder |
username(String username)
The username.
|
public QueryCustomAuthIdentityRequest.Builder clientId(String clientId)
The client ID if you set IdentityType to CLIENT.
example:GID_test@@@test
public QueryCustomAuthIdentityRequest.Builder identityType(String identityType)
The identity type.
example:USER
public QueryCustomAuthIdentityRequest.Builder instanceId(String instanceId)
The ID of the ApsaraMQ for MQTT instance.
This parameter is required.
example:post-111****
public QueryCustomAuthIdentityRequest.Builder nextToken(String nextToken)
The token that marks the end position of the previous returned page. To obtain the next batch of data, call the operation again by using the value of NextToken returned by the previous request. If you call this operation for the first time or want to query all results, set NextToken to an empty string.
example:eyJhY2NvdW50IjoiMTM4MTcxODk3NDQzMjQ1OSIsImV2ZW50SWQiOiJGMkUxOUE3QS1FM0Q0LTVCOEYtQkU4OS1CNkMyM0RBM0UyRjIiLCJsb2dJZCI6IjY2LTEzODE3MTg5NzQ0MzI0NTkiLCJydyI6IlciLCJ0aW1lIjoxNjc4MzI2MTI1MDAwfQ
public QueryCustomAuthIdentityRequest.Builder size(Integer size)
The number of identities to be queried. Maximum value: 100.
This parameter is required.
example:100
public QueryCustomAuthIdentityRequest.Builder username(String username)
The username.
example:test
public QueryCustomAuthIdentityRequest build()
Copyright © 2025. All rights reserved.