Interface CertificateCredential.DefinitionStages.WithDuration<ParentT>

Type Parameters:
ParentT - the stage of the parent definition to return to after attaching this definition
All Known Subinterfaces:
CertificateCredential.Definition<ParentT>, CertificateCredential.DefinitionStages.WithAttach<ParentT>
Enclosing interface:
CertificateCredential.DefinitionStages

public static interface CertificateCredential.DefinitionStages.WithDuration<ParentT>
The credential definition stage allowing the duration of key validity to be set.
  • Method Details

    • withDuration

      CertificateCredential.DefinitionStages.WithAttach<ParentT> withDuration(org.joda.time.Duration duration)
      Specifies the duration for which password or key would be valid. Default value is 1 year.
      Parameters:
      duration - the duration of validity
      Returns:
      the next stage in credential definition