Class CertificatePolicy
- java.lang.Object
-
- com.microsoft.azure.keyvault.models.CertificatePolicy
-
public class CertificatePolicy extends Object
Management policy for a certificate.
-
-
Constructor Summary
Constructors Constructor Description CertificatePolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateAttributes
attributes()
Get the attributes value.String
id()
Get the id value.IssuerParameters
issuerParameters()
Get the issuerParameters value.KeyProperties
keyProperties()
Get the keyProperties value.List<LifetimeAction>
lifetimeActions()
Get the lifetimeActions value.SecretProperties
secretProperties()
Get the secretProperties value.CertificatePolicy
withAttributes(CertificateAttributes attributes)
Set the attributes value.CertificatePolicy
withIssuerParameters(IssuerParameters issuerParameters)
Set the issuerParameters value.CertificatePolicy
withKeyProperties(KeyProperties keyProperties)
Set the keyProperties value.CertificatePolicy
withLifetimeActions(List<LifetimeAction> lifetimeActions)
Set the lifetimeActions value.CertificatePolicy
withSecretProperties(SecretProperties secretProperties)
Set the secretProperties value.CertificatePolicy
withX509CertificateProperties(X509CertificateProperties x509CertificateProperties)
Set the x509CertificateProperties value.X509CertificateProperties
x509CertificateProperties()
Get the x509CertificateProperties value.
-
-
-
Method Detail
-
id
public String id()
Get the id value.- Returns:
- the id value
-
keyProperties
public KeyProperties keyProperties()
Get the keyProperties value.- Returns:
- the keyProperties value
-
withKeyProperties
public CertificatePolicy withKeyProperties(KeyProperties keyProperties)
Set the keyProperties value.- Parameters:
keyProperties
- the keyProperties value to set- Returns:
- the CertificatePolicy object itself.
-
secretProperties
public SecretProperties secretProperties()
Get the secretProperties value.- Returns:
- the secretProperties value
-
withSecretProperties
public CertificatePolicy withSecretProperties(SecretProperties secretProperties)
Set the secretProperties value.- Parameters:
secretProperties
- the secretProperties value to set- Returns:
- the CertificatePolicy object itself.
-
x509CertificateProperties
public X509CertificateProperties x509CertificateProperties()
Get the x509CertificateProperties value.- Returns:
- the x509CertificateProperties value
-
withX509CertificateProperties
public CertificatePolicy withX509CertificateProperties(X509CertificateProperties x509CertificateProperties)
Set the x509CertificateProperties value.- Parameters:
x509CertificateProperties
- the x509CertificateProperties value to set- Returns:
- the CertificatePolicy object itself.
-
lifetimeActions
public List<LifetimeAction> lifetimeActions()
Get the lifetimeActions value.- Returns:
- the lifetimeActions value
-
withLifetimeActions
public CertificatePolicy withLifetimeActions(List<LifetimeAction> lifetimeActions)
Set the lifetimeActions value.- Parameters:
lifetimeActions
- the lifetimeActions value to set- Returns:
- the CertificatePolicy object itself.
-
issuerParameters
public IssuerParameters issuerParameters()
Get the issuerParameters value.- Returns:
- the issuerParameters value
-
withIssuerParameters
public CertificatePolicy withIssuerParameters(IssuerParameters issuerParameters)
Set the issuerParameters value.- Parameters:
issuerParameters
- the issuerParameters value to set- Returns:
- the CertificatePolicy object itself.
-
attributes
public CertificateAttributes attributes()
Get the attributes value.- Returns:
- the attributes value
-
withAttributes
public CertificatePolicy withAttributes(CertificateAttributes attributes)
Set the attributes value.- Parameters:
attributes
- the attributes value to set- Returns:
- the CertificatePolicy object itself.
-
-