Class ACGenerationParams.Builder

    • Field Detail

      • vo

        java.lang.String vo
      • fqans

        java.util.List<java.lang.String> fqans
      • host

        java.lang.String host
      • port

        int port
      • notBefore

        java.util.Date notBefore
      • notAfter

        java.util.Date notAfter
      • serialNo

        java.math.BigInteger serialNo
    • Constructor Detail

      • Builder

        public Builder()
        Default constructor initializing lists.
    • Method Detail

      • vo

        public ACGenerationParams.Builder vo​(java.lang.String vo)
        Sets the VO.
        Parameters:
        vo - the Virtual Organization name
        Returns:
        the Builder instance
      • fqan

        public ACGenerationParams.Builder fqan​(java.lang.String fqan)
        Adds a Fully Qualified Attribute Name.
        Parameters:
        fqan - the FQAN to add
        Returns:
        the Builder instance
      • ga

        public ACGenerationParams.Builder ga​(java.lang.String name,
                                             java.lang.String value,
                                             java.lang.String context)
        Adds a Generic Attribute.
        Parameters:
        name - the attribute name
        value - the attribute value
        context - the attribute context
        Returns:
        the Builder instance
      • host

        public ACGenerationParams.Builder host​(java.lang.String host)
        Sets the host.
        Parameters:
        host - the host
        Returns:
        the Builder instance
      • port

        public ACGenerationParams.Builder port​(int port)
        Sets the port.
        Parameters:
        port - the port number
        Returns:
        the Builder instance
      • notBefore

        public ACGenerationParams.Builder notBefore​(java.util.Date notBefore)
        Sets the not-before validity time.
        Parameters:
        notBefore - the start of the validity period
        Returns:
        the Builder instance
      • notAfter

        public ACGenerationParams.Builder notAfter​(java.util.Date notAfter)
        Sets the not-after validity time.
        Parameters:
        notAfter - the end of the validity period
        Returns:
        the Builder instance
      • serialNo

        public ACGenerationParams.Builder serialNo​(long serialNo)
        Sets the serial number.
        Parameters:
        serialNo - the serial number
        Returns:
        the Builder instance