Class AcmeMetadata.Builder

    • Field Detail

      • termsOfServiceUrl

        private String termsOfServiceUrl
      • websiteUrl

        private String websiteUrl
      • caaIdentities

        private String[] caaIdentities
      • externalAccountRequired

        private boolean externalAccountRequired
    • Constructor Detail

      • Builder

        Builder()
        Construct a new uninitialized instance.
    • Method Detail

      • setTermsOfServiceUrl

        public AcmeMetadata.Builder setTermsOfServiceUrl​(String termsOfServiceUrl)
        Set the terms of service URL.
        Parameters:
        termsOfServiceUrl - the terms of service URL (must not be null)
        Returns:
        this builder instance
      • setWebsiteUrl

        public AcmeMetadata.Builder setWebsiteUrl​(String websiteUrl)
        Set the website URL.
        Parameters:
        websiteUrl - the website URL (must not be null)
        Returns:
        this builder instance
      • setCaaIdentities

        public AcmeMetadata.Builder setCaaIdentities​(String[] caaIdentities)
        Set the CAA identities.
        Parameters:
        caaIdentities - the CAA identities (must not be null)
        Returns:
        this builder instance
      • setExternalAccountRequired

        public AcmeMetadata.Builder setExternalAccountRequired​(boolean externalAccountRequired)
        Set whether or not an external account is required.
        Parameters:
        externalAccountRequired - true if an external account is required and false otherwise
        Returns:
        this builder instance