CreateKeyRequest.Builder 类
- java.
lang. Object - com.
microsoft. azure. keyvault. requests. CreateKeyRequest. Builder
- com.
public class Builder
生成器 CreateKeyRequest 。
构造函数摘要
| 构造函数 | 说明 |
|---|---|
| Builder(String vaultBaseUrl, String keyName, JsonWebKeyType keyType) |
用于构造 CreateKeyRequest 对象的生成器。 |
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
|
Create |
build()
生成 CreateKeyRequest 对象。 |
| Builder |
withAttributes(Attributes attributes)
设置键属性值。 |
| Builder |
withKeyOperations(List<JsonWebKeyOperation> keyOperations)
设置键操作值。 |
| Builder |
withKeySize(Integer size)
设置密钥大小值。 |
| Builder |
withTags(Map<String, String> tags)
设置标记值。 |
构造函数详细信息
Builder
public Builder(String vaultBaseUrl, String keyName, JsonWebKeyType keyType)
用于构造 CreateKeyRequest 对象的生成器。
Parameters:
方法详细信息
build
withAttributes
public Builder withAttributes(Attributes attributes)
设置键属性值。
Parameters:
Returns:
withKeyOperations
public Builder withKeyOperations(List
设置键操作值。
Parameters:
Returns:
withKeySize
public Builder withKeySize(Integer size)
设置密钥大小值。
Parameters:
Returns:
withTags
public Builder withTags(Map
设置标记值。
Parameters:
Returns: