public class ListSecretsRequest extends AbstractModel
| Constructor and Description | 
|---|
| ListSecretsRequest() | 
| ListSecretsRequest(ListSecretsRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getLimit()Get Maximum number of returned Secrets in a query. | 
| Long | getOffset()Get Starting position of the list, starting at 0. | 
| Long | getOrderType()Get Sorting order according to the creation time. | 
| String | getProductName()Get | 
| String | getSearchSecretName()Get Filter according to Secret names. | 
| Long | getSecretType()Get `0` (default): user-defined secret. | 
| Long | getState()Get Filter based on credential status. | 
| TagFilter[] | getTagFilters()Get Tag filter. | 
| void | setLimit(Long Limit)Set Maximum number of returned Secrets in a query. | 
| void | setOffset(Long Offset)Set Starting position of the list, starting at 0. | 
| void | setOrderType(Long OrderType)Set Sorting order according to the creation time. | 
| void | setProductName(String ProductName)Set | 
| void | setSearchSecretName(String SearchSecretName)Set Filter according to Secret names. | 
| void | setSecretType(Long SecretType)Set `0` (default): user-defined secret. | 
| void | setState(Long State)Set Filter based on credential status. | 
| void | setTagFilters(TagFilter[] TagFilters)Set Tag filter. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic ListSecretsRequest()
public ListSecretsRequest(ListSecretsRequest source)
public Long getOffset()
public void setOffset(Long Offset)
Offset - Starting position of the list, starting at 0. If not specified, 0 is used by default.public Long getLimit()
public void setLimit(Long Limit)
Limit - Maximum number of returned Secrets in a query. If not set or set to 0, 20 is used by default.public Long getOrderType()
public void setOrderType(Long OrderType)
OrderType - Sorting order according to the creation time. If not set or set to 0, descending order is used; if set to 1, ascending order is used.public Long getState()
public void setState(Long State)
State - Filter based on credential status.
The default value is 0, indicating to query all.
1: query the list of credentials in `Enabled` status.
2: query the list of credentials in `Disabled` status.
3: query the list of credentials in `PendingDelete` status.
4: query the list of credentials in `PendingCreate` status.
5: query the list of credentials in `CreateFailed` status.
The `PendingCreate` and `CreateFailed` status only take effect when `SecretType` is Tencent Cloud service credentialpublic String getSearchSecretName()
public void setSearchSecretName(String SearchSecretName)
SearchSecretName - Filter according to Secret names. If left empty, this filter is not applied.public TagFilter[] getTagFilters()
public void setTagFilters(TagFilter[] TagFilters)
TagFilters - Tag filter.public Long getSecretType()
public void setSecretType(Long SecretType)
SecretType - `0` (default): user-defined secret.
`1`: Tencent Cloud services secret.
`2`: SSH key secret.public String getProductName()
public void setProductName(String ProductName)
ProductName - Copyright © 2021. All rights reserved.