Class UpdateCertificatePolicyRequest.Builder
- java.lang.Object
-
- com.microsoft.azure.keyvault.requests.UpdateCertificatePolicyRequest.Builder
-
- Enclosing class:
- UpdateCertificatePolicyRequest
public static class UpdateCertificatePolicyRequest.Builder extends Object
TheUpdateCertificatePolicyRequest
builder.
-
-
Constructor Summary
Constructors Constructor Description Builder(String vaultBaseUrl, String certificateName)
The builder for constructingUpdateCertificatePolicyRequest
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCertificatePolicyRequest
build()
builds theUpdateCertificatePolicyRequest
object.UpdateCertificatePolicyRequest.Builder
withPolicy(CertificatePolicy certificatePolicy)
Set the certificatePolicy value.
-
-
-
Constructor Detail
-
Builder
public Builder(String vaultBaseUrl, String certificateName)
The builder for constructingUpdateCertificatePolicyRequest
object.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.net.certificateName
- The name of the certificate in the given vault.
-
-
Method Detail
-
withPolicy
public UpdateCertificatePolicyRequest.Builder withPolicy(CertificatePolicy certificatePolicy)
Set the certificatePolicy value.- Parameters:
certificatePolicy
- The management policy for the certificate.- Returns:
- the Builder object itself.
-
build
public UpdateCertificatePolicyRequest build()
builds theUpdateCertificatePolicyRequest
object.- Returns:
- the
UpdateCertificatePolicyRequest
object.
-
-