Class ImportToken.Builder

  • Enclosing class:
    ImportToken

    public static class ImportToken.Builder
    extends Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public ImportToken build()
        Builds a ImportToken.
        Returns:
        the new ImportToken instance
      • expiration

        public ImportToken.Builder expiration​(Double expiration)
        Set the expiration.
        Parameters:
        expiration - the expiration
        Returns:
        the ImportToken builder
      • maxAllowedRetrievals

        public ImportToken.Builder maxAllowedRetrievals​(Double maxAllowedRetrievals)
        Set the maxAllowedRetrievals.
        Parameters:
        maxAllowedRetrievals - the maxAllowedRetrievals
        Returns:
        the ImportToken builder