Class PKICertificateSubject
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.PKICertificateSubject
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PKICertificateSubjectBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PKICertificateSubject extends Object implements io.fabric8.kubernetes.api.builder.Editable<PKICertificateSubjectBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PKICertificateSubject defines the requirements imposed on the subject to which the certificate was issued.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PKICertificateSubject()No args constructor for use in serializationPKICertificateSubject(String email, String hostname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PKICertificateSubjectBuilderedit()Map<String,Object>getAdditionalProperties()StringgetEmail()email specifies the expected email address imposed on the subject to which the certificate was issued, and must match the email address listed in the Subject Alternative Name (SAN) field of the certificate.StringgetHostname()hostname specifies the expected hostname imposed on the subject to which the certificate was issued, and it must match the hostname listed in the Subject Alternative Name (SAN) DNS field of the certificate.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEmail(String email)email specifies the expected email address imposed on the subject to which the certificate was issued, and must match the email address listed in the Subject Alternative Name (SAN) field of the certificate.voidsetHostname(String hostname)hostname specifies the expected hostname imposed on the subject to which the certificate was issued, and it must match the hostname listed in the Subject Alternative Name (SAN) DNS field of the certificate.PKICertificateSubjectBuildertoBuilder()
-
-
-
Method Detail
-
getEmail
public String getEmail()
email specifies the expected email address imposed on the subject to which the certificate was issued, and must match the email address listed in the Subject Alternative Name (SAN) field of the certificate. The email must be a valid email address and at most 320 characters in length.
-
setEmail
public void setEmail(String email)
email specifies the expected email address imposed on the subject to which the certificate was issued, and must match the email address listed in the Subject Alternative Name (SAN) field of the certificate. The email must be a valid email address and at most 320 characters in length.
-
getHostname
public String getHostname()
hostname specifies the expected hostname imposed on the subject to which the certificate was issued, and it must match the hostname listed in the Subject Alternative Name (SAN) DNS field of the certificate. The hostname must be a valid dns 1123 subdomain name, optionally prefixed by '*.', and at most 253 characters in length. It must consist only of lowercase alphanumeric characters, hyphens, periods and the optional preceding asterisk.
-
setHostname
public void setHostname(String hostname)
hostname specifies the expected hostname imposed on the subject to which the certificate was issued, and it must match the hostname listed in the Subject Alternative Name (SAN) DNS field of the certificate. The hostname must be a valid dns 1123 subdomain name, optionally prefixed by '*.', and at most 253 characters in length. It must consist only of lowercase alphanumeric characters, hyphens, periods and the optional preceding asterisk.
-
edit
public PKICertificateSubjectBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PKICertificateSubjectBuilder>
-
toBuilder
public PKICertificateSubjectBuilder toBuilder()
-
-