CertificateCredential.DefinitionStages.WithDuration<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public interface WithDuration
The credential definition stage allowing the duration of key validity to be set.
Method Summary
Modifier and Type | Method and Description |
---|---|
Certificate |
withDuration(Duration duration)
Specifies the duration for which password or key would be valid. Default value is 1 year. |
Method Details
withDuration
public WithAttach
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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java