Class CatalogUsersMetadata.Builder

  • Enclosing class:
    CatalogUsersMetadata

    public static class CatalogUsersMetadata.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String permission,
                       java.lang.String userName)
        Instantiates a new builder with required properties.
        Parameters:
        permission - the permission
        userName - the userName
    • Method Detail

      • build

        public CatalogUsersMetadata build()
        Builds a CatalogUsersMetadata.
        Returns:
        the new CatalogUsersMetadata instance
      • permission

        public CatalogUsersMetadata.Builder permission​(java.lang.String permission)
        Set the permission.
        Parameters:
        permission - the permission
        Returns:
        the CatalogUsersMetadata builder
      • userName

        public CatalogUsersMetadata.Builder userName​(java.lang.String userName)
        Set the userName.
        Parameters:
        userName - the userName
        Returns:
        the CatalogUsersMetadata builder