CustomerCertificate Class

public class CustomerCertificate
extends Certificate

Customer Certificate used for https.

Constructor Summary

Constructor Description
CustomerCertificate()

Method Summary

Modifier and Type Method and Description
java.lang.String certificateAuthority()

Get certificate issuing authority.

java.lang.String certificateUrl()

Get complete Url to the certificate.

java.util.List<java.lang.String> subjectAlternativeNames()

Get the list of SANs.

java.lang.Boolean useLatestVersion()

Get whether to use the latest version for the certificate.

java.lang.String version()

Get certificate version.

CustomerCertificate withCertificateAuthority(String certificateAuthority)

Set certificate issuing authority.

CustomerCertificate withCertificateUrl(String certificateUrl)

Set complete Url to the certificate.

CustomerCertificate withSubjectAlternativeNames(List<String> subjectAlternativeNames)

Set the list of SANs.

CustomerCertificate withUseLatestVersion(Boolean useLatestVersion)

Set whether to use the latest version for the certificate.

CustomerCertificate withVersion(String version)

Set certificate version.

Methods inherited from Certificate

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CustomerCertificate

public CustomerCertificate()

Method Details

certificateAuthority

public String certificateAuthority()

Get certificate issuing authority.

Returns:

the certificateAuthority value

certificateUrl

public String certificateUrl()

Get complete Url to the certificate.

Returns:

the certificateUrl value

subjectAlternativeNames

public List subjectAlternativeNames()

Get the list of SANs.

Returns:

the subjectAlternativeNames value

useLatestVersion

public Boolean useLatestVersion()

Get whether to use the latest version for the certificate.

Returns:

the useLatestVersion value

version

public String version()

Get certificate version.

Returns:

the version value

withCertificateAuthority

public CustomerCertificate withCertificateAuthority(String certificateAuthority)

Set certificate issuing authority.

Parameters:

certificateAuthority - the certificateAuthority value to set

Returns:

the CustomerCertificate object itself.

withCertificateUrl

public CustomerCertificate withCertificateUrl(String certificateUrl)

Set complete Url to the certificate.

Parameters:

certificateUrl - the certificateUrl value to set

Returns:

the CustomerCertificate object itself.

withSubjectAlternativeNames

public CustomerCertificate withSubjectAlternativeNames(List subjectAlternativeNames)

Set the list of SANs.

Parameters:

subjectAlternativeNames - the subjectAlternativeNames value to set

Returns:

the CustomerCertificate object itself.

withUseLatestVersion

public CustomerCertificate withUseLatestVersion(Boolean useLatestVersion)

Set whether to use the latest version for the certificate.

Parameters:

useLatestVersion - the useLatestVersion value to set

Returns:

the CustomerCertificate object itself.

withVersion

public CustomerCertificate withVersion(String version)

Set certificate version.

Parameters:

version - the version value to set

Returns:

the CustomerCertificate object itself.

Applies to