Class CertificateCreateOrUpdateProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.fluent.models.CertificateCreateOrUpdateProperties
-
public final class CertificateCreateOrUpdateProperties extends Object
Parameters supplied to the CreateOrUpdate certificate operation.
-
-
Constructor Summary
Constructors Constructor Description CertificateCreateOrUpdateProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
data()
Get the data property: Base 64 encoded certificate using the application/x-pkcs12 representation.KeyVaultContractCreateProperties
keyVault()
Get the keyVault property: KeyVault location details of the certificate.String
password()
Get the password property: Password for the Certificate.void
validate()
Validates the instance.CertificateCreateOrUpdateProperties
withData(String data)
Set the data property: Base 64 encoded certificate using the application/x-pkcs12 representation.CertificateCreateOrUpdateProperties
withKeyVault(KeyVaultContractCreateProperties keyVault)
Set the keyVault property: KeyVault location details of the certificate.CertificateCreateOrUpdateProperties
withPassword(String password)
Set the password property: Password for the Certificate.
-
-
-
Method Detail
-
data
public String data()
Get the data property: Base 64 encoded certificate using the application/x-pkcs12 representation.- Returns:
- the data value.
-
withData
public CertificateCreateOrUpdateProperties withData(String data)
Set the data property: Base 64 encoded certificate using the application/x-pkcs12 representation.- Parameters:
data
- the data value to set.- Returns:
- the CertificateCreateOrUpdateProperties object itself.
-
password
public String password()
Get the password property: Password for the Certificate.- Returns:
- the password value.
-
withPassword
public CertificateCreateOrUpdateProperties withPassword(String password)
Set the password property: Password for the Certificate.- Parameters:
password
- the password value to set.- Returns:
- the CertificateCreateOrUpdateProperties object itself.
-
keyVault
public KeyVaultContractCreateProperties keyVault()
Get the keyVault property: KeyVault location details of the certificate.- Returns:
- the keyVault value.
-
withKeyVault
public CertificateCreateOrUpdateProperties withKeyVault(KeyVaultContractCreateProperties keyVault)
Set the keyVault property: KeyVault location details of the certificate.- Parameters:
keyVault
- the keyVault value to set.- Returns:
- the CertificateCreateOrUpdateProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-