Credential. Definition Stages. With Duration<ParentT> 接口
The credential definition stage allowing the duration of key validity to be set.
public interface WithDuration<ParentT>
the stage of the parent definition to return to after attaching this definition
Specifies the duration for which password or key would be valid. Default value is 1 year.