Class 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 Detail

      • PKICertificateSubject

        public PKICertificateSubject()
        No args constructor for use in serialization
      • PKICertificateSubject

        public PKICertificateSubject​(String email,
                                     String hostname)
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)