com.microsoft.azure.keyvault.models.IssuerParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-keyvault Show documentation
Show all versions of azure-keyvault Show documentation
This library has been replaced by new Azure SDKs, you can read about them at https://aka.ms/azsdkvalueprop. The latest libraries to interact with the Azure Key Vault service are:
(1) https://search.maven.org/artifact/com.azure/azure-security-keyvault-keys.
(2) https://search.maven.org/artifact/com.azure/azure-security-keyvault-secrets.
(3) https://search.maven.org/artifact/com.azure/azure-security-keyvault-certificates.
It is recommended that you move to the new package.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator
package com.microsoft.azure.keyvault.models;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Parameters for the issuer of the X509 component of a certificate.
*/
public class IssuerParameters {
/**
* Name of the referenced issuer object or reserved names; for example,
* 'Self' or 'Unknown'.
*/
@JsonProperty(value = "name")
private String name;
/**
* Type of certificate to be requested from the issuer provider.
*/
@JsonProperty(value = "cty")
private String certificateType;
/**
* Indicates if the certificates generated under this policy should be
* published to certificate transparency logs.
*/
@JsonProperty(value = "cert_transparency")
private Boolean certificateTransparency;
/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Set the name value.
*
* @param name the name value to set
* @return the IssuerParameters object itself.
*/
public IssuerParameters withName(String name) {
this.name = name;
return this;
}
/**
* Get the certificateType value.
*
* @return the certificateType value
*/
public String certificateType() {
return this.certificateType;
}
/**
* Set the certificateType value.
*
* @param certificateType the certificateType value to set
* @return the IssuerParameters object itself.
*/
public IssuerParameters withCertificateType(String certificateType) {
this.certificateType = certificateType;
return this;
}
/**
* Get the certificateTransparency value.
*
* @return the certificateTransparency value
*/
public Boolean certificateTransparency() {
return this.certificateTransparency;
}
/**
* Set the certificateTransparency value.
*
* @param certificateTransparency the certificateTransparency value to set
* @return the IssuerParameters object itself.
*/
public IssuerParameters withCertificateTransparency(Boolean certificateTransparency) {
this.certificateTransparency = certificateTransparency;
return this;
}
}