CertificatePolicy Class

  • java.lang.Object
    • com.microsoft.azure.keyvault.models.CertificatePolicy

public class CertificatePolicy

Management policy for a certificate.

Method Summary

Modifier and Type Method and 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 Details

attributes

public CertificateAttributes attributes()

Get the attributes value.

Returns:

the attributes value

id

public String id()

Get the id value.

Returns:

the id value

issuerParameters

public IssuerParameters issuerParameters()

Get the issuerParameters value.

Returns:

the issuerParameters value

keyProperties

public KeyProperties keyProperties()

Get the keyProperties value.

Returns:

the keyProperties value

lifetimeActions

public List lifetimeActions()

Get the lifetimeActions value.

Returns:

the lifetimeActions value

secretProperties

public SecretProperties secretProperties()

Get the secretProperties value.

Returns:

the secretProperties value

withAttributes

public CertificatePolicy withAttributes(CertificateAttributes attributes)

Set the attributes value.

Parameters:

attributes - the attributes value to set

Returns:

the CertificatePolicy object itself.

withIssuerParameters

public CertificatePolicy withIssuerParameters(IssuerParameters issuerParameters)

Set the issuerParameters value.

Parameters:

issuerParameters - the issuerParameters value to set

Returns:

the CertificatePolicy object itself.

withKeyProperties

public CertificatePolicy withKeyProperties(KeyProperties keyProperties)

Set the keyProperties value.

Parameters:

keyProperties - the keyProperties value to set

Returns:

the CertificatePolicy object itself.

withLifetimeActions

public CertificatePolicy withLifetimeActions(List lifetimeActions)

Set the lifetimeActions value.

Parameters:

lifetimeActions - the lifetimeActions value to set

Returns:

the CertificatePolicy object itself.

withSecretProperties

public CertificatePolicy withSecretProperties(SecretProperties secretProperties)

Set the secretProperties value.

Parameters:

secretProperties - the secretProperties value to set

Returns:

the CertificatePolicy object itself.

withX509CertificateProperties

public CertificatePolicy withX509CertificateProperties(X509CertificateProperties x509CertificateProperties)

Set the x509CertificateProperties value.

Parameters:

x509CertificateProperties - the x509CertificateProperties value to set

Returns:

the CertificatePolicy object itself.

x509CertificateProperties

public X509CertificateProperties x509CertificateProperties()

Get the x509CertificateProperties value.

Returns:

the x509CertificateProperties value

Applies to