CertificateCredential.DefinitionStages.WithDuration<ParentT> 接口
定义
The credential definition stage allowing the duration of key validity to be set.
public interface WithDuration<ParentT>
类型参数
- ParentT
the stage of the parent definition to return to after attaching this definition
方法
withDuration(Duration duration) |
Specifies the duration for which password or key would be valid. Default value is 1 year. |