Class DelegatePkiRequest.Builder

All Implemented Interfaces:
WithJson<DelegatePkiRequest.Builder>, ObjectBuilder<DelegatePkiRequest>
Enclosing class:
DelegatePkiRequest

public static class DelegatePkiRequest.Builder extends RequestBase.AbstractBuilder<DelegatePkiRequest.Builder> implements ObjectBuilder<DelegatePkiRequest>
Builder for DelegatePkiRequest.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • x509CertificateChain

      public final DelegatePkiRequest.Builder x509CertificateChain(List<String> list)
      Required - The X509Certificate chain, which is represented as an ordered string array. Each string in the array is a base64-encoded (Section 4 of RFC4648 - not base64url-encoded) of the certificate's DER encoding.

      The first element is the target certificate that contains the subject distinguished name that is requesting access. This may be followed by additional certificates; each subsequent certificate is used to certify the previous one.

      API name: x509_certificate_chain

      Adds all elements of list to x509CertificateChain.

    • x509CertificateChain

      public final DelegatePkiRequest.Builder x509CertificateChain(String value, String... values)
      Required - The X509Certificate chain, which is represented as an ordered string array. Each string in the array is a base64-encoded (Section 4 of RFC4648 - not base64url-encoded) of the certificate's DER encoding.

      The first element is the target certificate that contains the subject distinguished name that is requesting access. This may be followed by additional certificates; each subsequent certificate is used to certify the previous one.

      API name: x509_certificate_chain

      Adds one or more values to x509CertificateChain.

    • self

      protected DelegatePkiRequest.Builder self()
      Specified by:
      self in class RequestBase.AbstractBuilder<DelegatePkiRequest.Builder>
    • build

      public DelegatePkiRequest build()
      Specified by:
      build in interface ObjectBuilder<DelegatePkiRequest>
      Throws:
      NullPointerException - if some of the required fields are null.