Class CertificateCreateOrUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.CertificateCreateOrUpdateParameters
-
public final class CertificateCreateOrUpdateParameters extends Object
Certificate create or update details.
-
-
Constructor Summary
Constructors Constructor Description CertificateCreateOrUpdateParameters()
-
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.CertificateCreateOrUpdateParameters
withData(String data)
Set the data property: Base 64 encoded certificate using the application/x-pkcs12 representation.CertificateCreateOrUpdateParameters
withKeyVault(KeyVaultContractCreateProperties keyVault)
Set the keyVault property: KeyVault location details of the certificate.CertificateCreateOrUpdateParameters
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 CertificateCreateOrUpdateParameters 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 CertificateCreateOrUpdateParameters object itself.
-
password
public String password()
Get the password property: Password for the Certificate.- Returns:
- the password value.
-
withPassword
public CertificateCreateOrUpdateParameters withPassword(String password)
Set the password property: Password for the Certificate.- Parameters:
password
- the password value to set.- Returns:
- the CertificateCreateOrUpdateParameters object itself.
-
keyVault
public KeyVaultContractCreateProperties keyVault()
Get the keyVault property: KeyVault location details of the certificate.- Returns:
- the keyVault value.
-
withKeyVault
public CertificateCreateOrUpdateParameters withKeyVault(KeyVaultContractCreateProperties keyVault)
Set the keyVault property: KeyVault location details of the certificate.- Parameters:
keyVault
- the keyVault value to set.- Returns:
- the CertificateCreateOrUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-